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

2014-09-05 Thread Maxime Coquelin
Hi Pramod, Srini On 09/04/2014 08:08 PM, Srinivas Kandagatla wrote: Pramod, sorry for delay in reply as I was travelling, still in Jet lag. Signed-off-by: Pramod Gurav --- drivers/pinctrl/pinctrl-st.c | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff

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

2014-09-04 Thread Pramod Gurav
Hi Srini, Thanks for review. On 04-09-2014 11:38 PM, Srinivas Kandagatla wrote: > Pramod, > sorry for delay in reply as I was travelling, still in Jet lag. >> Signed-off-by: Pramod Gurav >> --- >> drivers/pinctrl/pinctrl-st.c | 25 + >> 1 files changed, 25 insertions

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

2014-09-04 Thread Srinivas Kandagatla
Pramod, sorry for delay in reply as I was travelling, still in Jet lag. Signed-off-by: Pramod Gurav --- drivers/pinctrl/pinctrl-st.c | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/drivers/pinctrl/pinctrl-st.c b/drivers/pinctrl/pinctrl-st.c in

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

2014-09-04 Thread Linus Walleij
On Sat, Aug 30, 2014 at 4:45 PM, Pramod Gurav 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 > CC: Srini

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

2014-08-30 Thread Pramod Gurav
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 CC: Srinivas Kandagatla CC: Maxime Coquelin CC: Patrice Chotard CC: Linu