From: Wei Yongjun Date: Sun, 7 Oct 2012 14:01:15 +0000 (+0800) Subject: pinctrl: fix return value in bcm2835_pinctrl_probe() X-Git-Tag: v3.7-rc2~41^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ee73aa077d1468b293bb208814a8c240eefa9b7;p=pandora-kernel.git pinctrl: fix return value in bcm2835_pinctrl_probe() In case of error, the function pinctrl_register() returns NULL not ERR_PTR(). The PTR_ERR() in the return value should be replaced with error no. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun Acked-by: Stephen Warren Signed-off-by: Linus Walleij --- Reading git-diff-tree failed