On 04/25/2017 08:44 AM, Wei Yongjun wrote: > From: Wei Yongjun <weiyongj...@huawei.com> > > In case of error, the function devm_ioremap_resource() returns ERR_PTR() > and never returns NULL. The NULL test in the return value check should > be replaced with IS_ERR(). > > Fixes: dabf54dd1c63 ("can: ti_hecc: Convert TI HECC driver to DT only driver") > Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
Added to linux-can-next. Tnx, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature