commit | 70e4197420a154a2a684b6e7b496dda70b20d9ec | [log] [tgz] |
---|---|---|
author | Pramod Gurav <pramod.gurav@smartplayin.com> | Tue Sep 09 15:50:36 2014 +0530 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Sep 23 16:45:22 2014 +0200 |
tree | 0319a6cf1d53a9ab4db83f679a61cf671e50dd14 | |
parent | 849a8c25c80a2cde824072813bf4aabbc79b8789 [diff] |
pinctrl: at91: Fix failure path in at91_gpio_probe path This fixes the whole error handling in probe function by capturing and returning error values on kernel function like clk_prepare, clk_enable, gpiochip_add etc. CC: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> CC: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>