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

Maxime Ripard maxime.ripard at free-electrons.com
Fri May 24 19:34:44 EST 2013


Hi Linus,

On Fri, May 24, 2013 at 11:23:04AM +0200, Linus Walleij wrote:
> 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?

Yes, everything's fine for me.

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the devicetree-discuss mailing list