diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2014-09-12 01:12:14 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-09-24 10:04:28 +0200 |
commit | 4f51b91335a63b2672a0f21fd13a684c8e35c4e8 (patch) | |
tree | 59f808456d03bc48d484022aa0df61380d4a45bc /Documentation/filesystems | |
parent | GPIO: gpiolib: trivial: Add missing carriage return (diff) | |
download | linux-4f51b91335a63b2672a0f21fd13a684c8e35c4e8.tar.xz linux-4f51b91335a63b2672a0f21fd13a684c8e35c4e8.zip |
gpio: Fix return value check in xgene_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>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/filesystems')
0 files changed, 0 insertions, 0 deletions