[PATCH v2] pinctrl: st: remove gpiochip in failure cases
Linus Walleij
linus.walleij at linaro.org
Tue Sep 23 07:53:59 PDT 2014
On Tue, Sep 9, 2014 at 9:51 AM, Pramod Gurav
<pramod.gurav at smartplayin.com> wrote:
> This patch releases gpiochip related resources by calling
> gpiochip_remove when gpiochip_irqchip_add fails.
>
> CC: Srinivas Kandagatla <srinivas.kandagatla at gmail.com>
> CC: Srinivas Kandagatla <srinivas.kandagatla at linaro.com>
> CC: Maxime Coquelin <maxime.coquelin at st.com>
> CC: Patrice Chotard <patrice.chotard at st.com>
> CC: Linus Walleij <linus.walleij at linaro.org>
> CC: Bjorn Andersson <bjorn.andersson at sonymobile.com>
> Signed-off-by: Pramod Gurav <pramod.gurav at smartplayin.com>
> ---
> Changes since v1:
> Dropped adding remove function as it will never be tested as
> the driver is bool.
Patch applied with Srinivas ACK.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list