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:
fe61052
)
pinctrl: tb10x: fix the error handling in tb10x_pinctrl_probe()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Mon, 21 Oct 2013 02:55:29 +0000
(10:55 +0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 23 Oct 2013 08:41:22 +0000
(10:41 +0200)
This patch fix the error handling in tb10x_pinctrl_probe():
- devm_ioremap_resource() return ERR_PTR() and never return NULL
- remove the dev_err call to avoid redundant error message
- pinctrl_register() returns NULL not ERR_PTR()
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-tb10x.c
patch
|
blob
|
history
diff --cc
drivers/pinctrl/pinctrl-tb10x.c
Simple merge