Re: [PATCH v2] pinctrl: lantiq: Release gpiochip resources in fail case

From: Linus Walleij
Date: Tue Sep 23 2014 - 06:23:39 EST


On Tue, Sep 9, 2014 at 10:05 AM, Pramod Gurav
<pramod.gurav@xxxxxxxxxxxxxxx> wrote:

> This patch releases gpiochip resources with of_gpiochip_remove
> and gpiochip_remove in failure cases.
>
> CC: John Crispin <blogic@xxxxxxxxxxx>
> CC: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Signed-off-by: Pramod Gurav <pramod.gurav@xxxxxxxxxxxxxxx>
> ---
>
> Changes since v1:
> Dropped call to of_gpiochip_remove() when ltq_pinctrl_register fails as
> gpiochip_remove() calls of_gpiochip_remove()

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/