From: Wei Yongjun Date: Thu, 31 Oct 2013 07:51:18 +0000 (+0800) Subject: pinctrl: imx1: fix return value check in imx1_pinctrl_core_probe() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~13^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e1109adde6acd0f3424886da09402ac22ed244b;p=pandora-kernel.git pinctrl: imx1: fix return value check in imx1_pinctrl_core_probe() In case of error, the function devm_ioremap_nocache() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun Signed-off-by: Linus Walleij --- Reading git-diff-tree failed