diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-03-14 04:46:20 -0400 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-03-17 04:20:17 -0400 |
commit | 76aeec83e448478838eec868066dda33049d1288 (patch) | |
tree | 2210e0cf43d823054b1104b71a9db4058004619b /drivers/rapidio | |
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 <shc_work@mail.ru>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions