]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: sunxi: fix error return code in sunxi_pinctrl_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 23 May 2013 09:32:14 +0000 (17:32 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 May 2013 13:37:09 +0000 (15:37 +0200)
commit5568cb999f3f9b5af112276971cf2f53ccddb5a1
tree46d0cf31ad13ad2b54d3ec51c5a882a1f4dea84b
parent74a4e318b611d9348b1377c5c668f07afdf54a9b
pinctrl: sunxi: fix error return code in sunxi_pinctrl_probe()

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 016f18f5f430e6cea05e3710e5b0283f608627f8
(pinctrl: sunxi: add clock support)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-sunxi.c