Re: [PATCH 1/6] Input: gpio_keys_polled - keep button data constant

From: Mika Westerberg
Date: Mon Oct 31 2016 - 06:42:22 EST


On Fri, Oct 28, 2016 at 04:14:39PM -0700, Dmitry Torokhov wrote:
> diff --git a/include/linux/gpio_keys.h b/include/linux/gpio_keys.h
> index ee2d8c6..d1250ad 100644
> --- a/include/linux/gpio_keys.h
> +++ b/include/linux/gpio_keys.h
> @@ -2,7 +2,6 @@
> #define _GPIO_KEYS_H
>
> struct device;
> -struct gpio_desc;
>
> /**
> * struct gpio_keys_button - configuration parameters
> @@ -31,7 +30,6 @@ struct gpio_keys_button {
> bool can_disable;
> int value;
> unsigned int irq;
> - struct gpio_desc *gpiod;

Please remove the kernel-doc comment of this member as well.

> };