* [PATCH RESEND] gpio: LPC32xx: Driver cleanup
@ 2012-06-18 20:18 Roland Stigge
2012-06-20 8:15 ` Linus Walleij
0 siblings, 1 reply; 3+ messages in thread
From: Roland Stigge @ 2012-06-18 20:18 UTC (permalink / raw)
To: grant.likely, linus.walleij, rob.herring, linux-kernel, linux-arm-kernel
Cc: Roland Stigge
Since LPC32xx is now switched over to devicetree based GPIO, the unused
lpc32xx_gpio_init() can be removed.
Further, the driver title changed since it referred to the wrong file.
Signed-off-by: Roland Stigge <stigge@antcom.de>
---
Applies to v3.5-rc3
drivers/gpio/gpio-lpc32xx.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
--- linux-2.6.orig/drivers/gpio/gpio-lpc32xx.c
+++ linux-2.6/drivers/gpio/gpio-lpc32xx.c
@@ -1,5 +1,5 @@
/*
- * arch/arm/mach-lpc32xx/gpiolib.c
+ * GPIO driver for LPC32xx SoC
*
* Author: Kevin Wells <kevin.wells@nxp.com>
*
@@ -457,13 +457,6 @@ static struct lpc32xx_gpio_chip lpc32xx_
},
};
-/* Empty now, can be removed later when mach-lpc32xx is finally switched over
- * to DT support
- */
-void __init lpc32xx_gpio_init(void)
-{
-}
-
static int lpc32xx_of_xlate(struct gpio_chip *gc,
const struct of_phandle_args *gpiospec, u32 *flags)
{
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH RESEND] gpio: LPC32xx: Driver cleanup
2012-06-18 20:18 [PATCH RESEND] gpio: LPC32xx: Driver cleanup Roland Stigge
@ 2012-06-20 8:15 ` Linus Walleij
0 siblings, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2012-06-20 8:15 UTC (permalink / raw)
To: Roland Stigge
Cc: grant.likely, linus.walleij, rob.herring, linux-kernel, linux-arm-kernel
On Mon, Jun 18, 2012 at 10:18 PM, Roland Stigge <stigge@antcom.de> wrote:
> Since LPC32xx is now switched over to devicetree based GPIO, the unused
> lpc32xx_gpio_init() can be removed.
>
> Further, the driver title changed since it referred to the wrong file.
>
> Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH RESEND] gpio: LPC32xx: Driver cleanup
@ 2012-06-27 22:09 Roland Stigge
0 siblings, 0 replies; 3+ messages in thread
From: Roland Stigge @ 2012-06-27 22:09 UTC (permalink / raw)
To: grant.likely, linus.walleij, rob.herring, linux-kernel, linux-arm-kernel
Cc: Roland Stigge
Since LPC32xx is now switched over to devicetree based GPIO, the unused
lpc32xx_gpio_init() can be removed.
Further, the driver title changed since it referred to the wrong file.
Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
---
Applies to v3.5-rc4
drivers/gpio/gpio-lpc32xx.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
--- linux-2.6.orig/drivers/gpio/gpio-lpc32xx.c
+++ linux-2.6/drivers/gpio/gpio-lpc32xx.c
@@ -1,5 +1,5 @@
/*
- * arch/arm/mach-lpc32xx/gpiolib.c
+ * GPIO driver for LPC32xx SoC
*
* Author: Kevin Wells <kevin.wells@nxp.com>
*
@@ -457,13 +457,6 @@ static struct lpc32xx_gpio_chip lpc32xx_
},
};
-/* Empty now, can be removed later when mach-lpc32xx is finally switched over
- * to DT support
- */
-void __init lpc32xx_gpio_init(void)
-{
-}
-
static int lpc32xx_of_xlate(struct gpio_chip *gc,
const struct of_phandle_args *gpiospec, u32 *flags)
{
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-27 22:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-18 20:18 [PATCH RESEND] gpio: LPC32xx: Driver cleanup Roland Stigge
2012-06-20 8:15 ` Linus Walleij
2012-06-27 22:09 Roland Stigge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).