git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43a8785
)
gpio: Fix return value check in xgene_gpio_probe()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Thu, 11 Sep 2014 23:12:14 +0000
(07:12 +0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 24 Sep 2014 08:04:28 +0000
(10:04 +0200)
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>
drivers/gpio/gpio-xgene.c
patch
|
blob
|
history
diff --cc
drivers/gpio/gpio-xgene.c
Simple merge