diff options
| author | 2014-03-14 12:46:20 +0400 | |
|---|---|---|
| committer | 2014-03-17 09:20:17 +0100 | |
| commit | 76aeec83e448478838eec868066dda33049d1288 (patch) | |
| tree | 2210e0cf43d823054b1104b71a9db4058004619b /scripts/patch-kernel | |
| parent | can: populate netdev::dev_id for udev discrimination (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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
