diff options
author | Wei Yongjun <[email protected]> | 2013-10-31 15:51:18 +0800 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2013-11-04 12:49:56 +0100 |
commit | 5e1109adde6acd0f3424886da09402ac22ed244b (patch) | |
tree | 834319d549c6b41b94c3794366c028f435b15ba9 /lib/test-string_helpers.c | |
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 <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions