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

From: Linus Walleij
Date: Wed Oct 10 2012 - 02:46:27 EST


On Sun, Oct 7, 2012 at 4:01 PM, Wei Yongjun <weiyj.lk@xxxxxxxxx> wrote:

> From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxxxx>

Applied with Stephen's ACK.

Thanks!
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/