diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-10-31 15:51:18 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-11-04 12:49:56 +0100 |
commit | 5e1109adde6acd0f3424886da09402ac22ed244b (patch) | |
tree | 834319d549c6b41b94c3794366c028f435b15ba9 /drivers/pinctrl/pinctrl-imx6q.c | |
parent | 9a4864c897549e048b582372eca36e967b87784c (diff) | |
download | op-kernel-dev-5e1109adde6acd0f3424886da09402ac22ed244b.zip op-kernel-dev-5e1109adde6acd0f3424886da09402ac22ed244b.tar.gz |
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>
Diffstat (limited to 'drivers/pinctrl/pinctrl-imx6q.c')
0 files changed, 0 insertions, 0 deletions