diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-08-01 11:53:44 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-08-21 10:49:59 +0200 |
commit | 37b75a3aa8ec7031df75219fe2f8e5e9b7be398f (patch) | |
tree | c52157f42c34cf3b271b9cd10a48e6d2422b4153 /drivers/regulator/s5m8767.c | |
parent | 9e37bc6c635a85e0ae3067f19d6f84e1c4516a6c (diff) | |
download | linux-37b75a3aa8ec7031df75219fe2f8e5e9b7be398f.tar.bz2 |
can: c_can: checking IS_ERR() instead of NULL
devm_ioremap() returns NULL on error, not an ERR_PTR().
Fixes: 33cf75656923 ('can: c_can_platform: Fix raminit, use devm_ioremap() instead of devm_ioremap_resource()')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: linux-stable <stable@vger.kernel.org> # >= v3.11
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/regulator/s5m8767.c')
0 files changed, 0 insertions, 0 deletions