Re: [PATCH] [TRIVIAL] gpio: fix comment typos 'CONFIG_GPIO_IRQCHIP'

From: Paul Bolle
Date: Thu Sep 04 2014 - 19:18:49 EST


Hi Jiri,

On Fri, 2014-04-04 at 09:59 +0200, Paul Bolle wrote:
> Signed-off-by: Paul Bolle <pebolle@xxxxxxxxxx>
> ---
> Untested.
>
> These two typos were introduced in commit 1425052097b5 ("gpio: add IRQ
> chip helpers in gpiolib"), which has just been merged.
>
> include/linux/gpio/driver.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h
> index 1827b43..8652ab7 100644
> --- a/include/linux/gpio/driver.h
> +++ b/include/linux/gpio/driver.h
> @@ -102,7 +102,7 @@ struct gpio_chip {
>
> #ifdef CONFIG_GPIOLIB_IRQCHIP
> /*
> - * With CONFIG_GPIO_IRQCHIP we get an irqchip inside the gpiolib
> + * With CONFIG_GPIOLIB_IRQCHIP we get an irqchip inside the gpiolib
> * to handle IRQs for most practical cases.
> */
> struct irq_chip *irqchip;
> @@ -218,7 +218,7 @@ int gpiochip_irqchip_add(struct gpio_chip *gpiochip,
> irq_flow_handler_t handler,
> unsigned int type);
>
> -#endif /* CONFIG_GPIO_IRQCHIP */
> +#endif /* CONFIG_GPIOLIB_IRQCHIP */
>
> #else /* CONFIG_GPIOLIB */

Did you ever had a chance to look at this patch? It still applies to
next-20140904.


Paul Bolle

--
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/