From: Wei Yongjun Date: Mon, 21 Oct 2013 02:55:29 +0000 (+0800) Subject: pinctrl: tb10x: fix the error handling in tb10x_pinctrl_probe() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~13^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86467ff2ddca94c0d8d10b92b5916e68c0cad8a9;p=pandora-kernel.git 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 Signed-off-by: Linus Walleij --- Reading git-diff-tree failed