pinctrl: sunxi: check clk_prepare_enable return value
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Thu, 10 Apr 2014 13:52:40 +0000 (15:52 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 22 Apr 2014 11:38:35 +0000 (13:38 +0200)
commit6415093f7f643ba73518f83a3c07f32aeadb0317
tree18624118ceae3a0d682f276ef5c6ed2f3367da48
parent3b02dad20fd5f6159dd5b0b0408f8065d3f48714
pinctrl: sunxi: check clk_prepare_enable return value

Check the clk_prepare_enable return value to avoid false positive probe.

Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-sunxi.c