[PATCH] pinctrl: fix return value in bcm2835_pinctrl_probe()

Stephen Warren swarren at wwwdotorg.org
Tue Oct 9 13:22:57 EST 2012


On 10/07/2012 08:01 AM, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
> 
> 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)

Linus, I assume this will go through the pinctrl tree.


More information about the devicetree-discuss mailing list