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

2012-10-09 Thread Linus Walleij
On Sun, Oct 7, 2012 at 4:01 PM, Wei Yongjun wrote: > From: Wei Yongjun > > 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://githu

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

2012-10-08 Thread Stephen Warren
On 10/07/2012 08:01 AM, Wei Yongjun wrote: > From: Wei Yongjun > > 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/we

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

2012-10-07 Thread Wei Yongjun
From: Wei Yongjun 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 --- drivers/pinct