diff options
author | Pramod Gurav <pramod.gurav@smartplayin.com> | 2014-09-09 15:50:36 +0530 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-09-23 16:45:22 +0200 |
commit | 70e4197420a154a2a684b6e7b496dda70b20d9ec (patch) | |
tree | 0319a6cf1d53a9ab4db83f679a61cf671e50dd14 /drivers/pinctrl/freescale/pinctrl-imx27.c | |
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>
Diffstat (limited to 'drivers/pinctrl/freescale/pinctrl-imx27.c')
0 files changed, 0 insertions, 0 deletions