commit | 37b75a3aa8ec7031df75219fe2f8e5e9b7be398f | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Aug 01 11:53:44 2014 +0300 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Thu Aug 21 10:49:59 2014 +0200 |
tree | c52157f42c34cf3b271b9cd10a48e6d2422b4153 | |
parent | 9e37bc6c635a85e0ae3067f19d6f84e1c4516a6c [diff] |
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>