Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da03d740 authored by Roland Stigge's avatar Roland Stigge Committed by Linus Walleij
Browse files

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: default avatarRoland Stigge <stigge@antcom.de>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 25b273ba
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
/*
 * 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_gpiochip[] = {
	},
};

/* 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)
{