diff options
author | Alexander Shiyan <[email protected]> | 2014-03-14 12:46:20 +0400 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2014-03-17 09:20:17 +0100 |
commit | 76aeec83e448478838eec868066dda33049d1288 (patch) | |
tree | 2210e0cf43d823054b1104b71a9db4058004619b /lib/cpu-notifier-error-inject.c | |
parent | 3e66d0138c05d9792f458b96581afdb314bc66d6 (diff) |
can: mcp251x: Fix regulators operation without CONFIG_REGULATOR
If CONFIG_REGULATOR is not set, devm_regulator_get() returns NULL,
so use IS_ERR_OR_NULL() macro for checks.
Signed-off-by: Alexander Shiyan <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions