Commit da03d7400adfe56e2a54d0e38aa12704ab2a0e13

Authored by Roland Stigge
Committed by Linus Walleij
1 parent 25b273baa5

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>

Showing 1 changed file with 1 additions and 8 deletions Side-by-side Diff

drivers/gpio/gpio-lpc32xx.c
1 1 /*
2   - * arch/arm/mach-lpc32xx/gpiolib.c
  2 + * GPIO driver for LPC32xx SoC
3 3 *
4 4 * Author: Kevin Wells <kevin.wells@nxp.com>
5 5 *
... ... @@ -456,13 +456,6 @@
456 456 .gpio_grp = &gpio_grp_regs_p3,
457 457 },
458 458 };
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 459  
467 460 static int lpc32xx_of_xlate(struct gpio_chip *gc,
468 461 const struct of_phandle_args *gpiospec, u32 *flags)