summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-adi2-bf54x.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-10-21 06:55:29 +0400
committerLinus Walleij <linus.walleij@linaro.org>2013-10-23 12:41:22 +0400
commit86467ff2ddca94c0d8d10b92b5916e68c0cad8a9 (patch)
tree7a54fc2c24f30699fb4b691025bc7defd6a52870 /drivers/pinctrl/pinctrl-adi2-bf54x.c
parentfe61052ae97a33c229a3ae7ad29e0c9b9ccada02 (diff)
downloadlinux-86467ff2ddca94c0d8d10b92b5916e68c0cad8a9.tar.xz
pinctrl: tb10x: fix the error handling in tb10x_pinctrl_probe()
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>
Diffstat (limited to 'drivers/pinctrl/pinctrl-adi2-bf54x.c')
0 files changed, 0 insertions, 0 deletions