Re: [PATCH] Correct bad gpio naming

From: Grant Likely
Date: Sun Jan 22 2012 - 14:31:24 EST


On Sun, Jan 22, 2012 at 06:57:57PM +0100, Roland Stigge wrote:
> One of the GPIO names in drivers/gpio/gpio-lpc32xx.c
> was bad. Renaming gpi000 -> gpio00
>
> Signed-off-by: Roland Stigge <stigge@xxxxxxxxx>

Applied. Careful though, this patch was corrupt (missing carriage
return before 'static' and had to be applied by hand.

g.

>
> diff --git a/drivers/gpio/gpio-lpc32xx.c b/drivers/gpio/gpio-lpc32xx.c
> index 5b69480..ddfacc5 100644
> --- a/drivers/gpio/gpio-lpc32xx.c
> +++ b/drivers/gpio/gpio-lpc32xx.c
> @@ -96,7 +96,7 @@ static const char *gpio_p2_names[LPC32XX_GPIO_P2_MAX] = {
> };
> static const char *gpio_p3_names[LPC32XX_GPIO_P3_MAX] = {
> - "gpi000", "gpio01", "gpio02", "gpio03",
> + "gpio00", "gpio01", "gpio02", "gpio03",
> "gpio04", "gpio05"
> };
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/