[PATCH -next] pinctrl: sunxi: fix error return code in sunxi_pinctrl_probe()

Linus Walleij linus.walleij at linaro.org
Fri May 24 19:23:04 EST 2013


On Thu, May 23, 2013 at 11:32 AM, Wei Yongjun <weiyj.lk at gmail.com> wrote:

> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
>
> Fix to return a negative error code from the devm_clk_get() error
> handling case instead of 0, as done elsewhere in this function.
>
> Introduced by commit 950707c0eb5c7aeaa2c446a04c824f4be686d2f6
> (pinctrl: sunxi: add clock support)
>
> Signed-off-by: Wei Yongjun <yongjun_wei at trendmicro.com.cn>

Patch applied for fixes, thanks!

Maxime: OK?

Yours,
Linus Walleij


More information about the devicetree-discuss mailing list