diff options
author | Roland Stigge <stigge@antcom.de> | 2012-06-11 04:12:40 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-07-12 07:40:16 -0400 |
commit | da03d7400adfe56e2a54d0e38aa12704ab2a0e13 (patch) | |
tree | dc18432e2d08793dd5d5e1e485a7081a53738d3c /drivers/gpio | |
parent | 25b273baa5bf05923b053a2c80e7eedb7ee8d7e2 (diff) |
gpio: LPC32xx: Driver cleanup
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>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-lpc32xx.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/gpio/gpio-lpc32xx.c b/drivers/gpio/gpio-lpc32xx.c index c2199beca98a..c8c2a513ba84 100644 --- a/drivers/gpio/gpio-lpc32xx.c +++ b/drivers/gpio/gpio-lpc32xx.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/mach-lpc32xx/gpiolib.c | 2 | * GPIO driver for LPC32xx SoC |
3 | * | 3 | * |
4 | * Author: Kevin Wells <kevin.wells@nxp.com> | 4 | * Author: Kevin Wells <kevin.wells@nxp.com> |
5 | * | 5 | * |
@@ -457,13 +457,6 @@ static struct lpc32xx_gpio_chip lpc32xx_gpiochip[] = { | |||
457 | }, | 457 | }, |
458 | }; | 458 | }; |
459 | 459 | ||
460 | /* Empty now, can be removed later when mach-lpc32xx is finally switched over | ||
461 | * to DT support | ||
462 | */ | ||
463 | void __init lpc32xx_gpio_init(void) | ||
464 | { | ||
465 | } | ||
466 | |||
467 | static int lpc32xx_of_xlate(struct gpio_chip *gc, | 460 | static int lpc32xx_of_xlate(struct gpio_chip *gc, |
468 | const struct of_phandle_args *gpiospec, u32 *flags) | 461 | const struct of_phandle_args *gpiospec, u32 *flags) |
469 | { | 462 | { |