Re: [PATCH] pinctrl: adi2: Remove duplicate gpiochip_remove_pin_ranges from remove function
On Sat, Aug 30, 2014 at 7:35 PM, Pramod Gurav wrote: > This patch removes call to gpiochip_remove_pin_ranges() from platform_driver > remove > function as it will anway be called by gpiochip_remove(). > > CC: Sonic Zhang > CC: Linus Walleij > Signed-off-by: Pramod Gurav Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] pinctrl: adi2: Remove duplicate gpiochip_remove_pin_ranges from remove function
On Sat, Aug 30, 2014 at 7:35 PM, Pramod Gurav pramod.gu...@smartplayin.com wrote: This patch removes call to gpiochip_remove_pin_ranges() from platform_driver remove function as it will anway be called by gpiochip_remove(). CC: Sonic Zhang sonic.zh...@analog.com CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH] pinctrl: adi2: Remove duplicate gpiochip_remove_pin_ranges from remove function
This patch removes call to gpiochip_remove_pin_ranges() from platform_driver remove function as it will anway be called by gpiochip_remove(). CC: Sonic Zhang CC: Linus Walleij Signed-off-by: Pramod Gurav --- drivers/pinctrl/pinctrl-adi2.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/pinctrl/pinctrl-adi2.c b/drivers/pinctrl/pinctrl-adi2.c index b092b93..e9909b9 100644 --- a/drivers/pinctrl/pinctrl-adi2.c +++ b/drivers/pinctrl/pinctrl-adi2.c @@ -1041,7 +1041,6 @@ static int adi_gpio_remove(struct platform_device *pdev) u8 offset; list_del(>node); - gpiochip_remove_pin_ranges(>chip); gpiochip_remove(>chip); if (port->pint) { for (offset = 0; offset < port->width; offset++) -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH] pinctrl: adi2: Remove duplicate gpiochip_remove_pin_ranges from remove function
This patch removes call to gpiochip_remove_pin_ranges() from platform_driver remove function as it will anway be called by gpiochip_remove(). CC: Sonic Zhang sonic.zh...@analog.com CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/pinctrl/pinctrl-adi2.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/pinctrl/pinctrl-adi2.c b/drivers/pinctrl/pinctrl-adi2.c index b092b93..e9909b9 100644 --- a/drivers/pinctrl/pinctrl-adi2.c +++ b/drivers/pinctrl/pinctrl-adi2.c @@ -1041,7 +1041,6 @@ static int adi_gpio_remove(struct platform_device *pdev) u8 offset; list_del(port-node); - gpiochip_remove_pin_ranges(port-chip); gpiochip_remove(port-chip); if (port-pint) { for (offset = 0; offset port-width; offset++) -- 1.7.0.4 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/