commit | 424a6c607c169ca0ac8431424f28fc839b45b14c | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Sat Feb 06 22:56:36 2016 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Feb 15 19:42:41 2016 +0100 |
tree | 292a3a6dcc74f9bf62f81dc5d3afa7fe4a18a649 | |
parent | 41bd0c52c0d3e38202608cfe133faca9a0e53ae8 [diff] |
pinctrl: Fix return value check in amd_gpio_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>