diff options
author | Pramod Gurav <pramod.gurav@smartplayin.com> | 2014-09-09 09:51:40 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-09-23 16:53:18 +0200 |
commit | 7471725f618b95d2a61a4bf789dbdc5c7805ffa9 (patch) | |
tree | 7bd0fd5c415aa75bcef91d77e64d9f00692e0bfb /drivers/pinctrl/pinctrl-at91.c | |
parent | pinctrl: at91: Fix error handling while doing gpiochio_irqchip_add (diff) | |
download | linux-7471725f618b95d2a61a4bf789dbdc5c7805ffa9.tar.xz linux-7471725f618b95d2a61a4bf789dbdc5c7805ffa9.zip |
pinctrl: st: remove gpiochip in failure cases
This patch releases gpiochip related resources by calling
gpiochip_remove when gpiochip_irqchip_add fails.
Cc: Maxime Coquelin <maxime.coquelin@st.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@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/pinctrl-at91.c')
0 files changed, 0 insertions, 0 deletions