commit | 5e1109adde6acd0f3424886da09402ac22ed244b | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Thu Oct 31 15:51:18 2013 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Nov 04 12:49:56 2013 +0100 |
tree | 834319d549c6b41b94c3794366c028f435b15ba9 | |
parent | 9a4864c897549e048b582372eca36e967b87784c [diff] |
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 <yongjun_wei@trendmicro.com.cn> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>