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

Linus Walleij linus.walleij at linaro.org
Wed Oct 10 02:46:33 EDT 2012

On Sun, Oct 7, 2012 at 4:01 PM, Wei Yongjun <weiyj.lk at gmail.com> 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)
> Signed-off-by: Wei Yongjun <yongjun_wei at trendmicro.com.cn>

Applied with Stephen's ACK.

Linus Walleij

More information about the linux-rpi-kernel mailing list