[PATCH] pinctrl: st: Add remove function and remove gpio_chip on failure

Linus Walleij linus.walleij at linaro.org
Thu Sep 4 09:53:28 PDT 2014

On Sat, Aug 30, 2014 at 4:45 PM, Pramod Gurav
<pramod.gurav at smartplayin.com> wrote:

> This patch adds a remove function to platform_driver to unload
> the driver in a cleaner way. This also 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>

Srinivas/Patrice: can you have a look at this?

Linus Walleij

More information about the linux-arm-kernel mailing list