diff mbox series

[1/3] Input: colibri-vf50-ts - remove unneeded gpio.h header file

Message ID 20191026185958.24158-1-festevam@gmail.com (mailing list archive)
State Mainlined
Commit d34a069e1c63ddc20e2c3c8bfdec2510682b15f3
Headers show
Series [1/3] Input: colibri-vf50-ts - remove unneeded gpio.h header file | expand

Commit Message

Fabio Estevam Oct. 26, 2019, 6:59 p.m. UTC
The touchscreen device is a GPIO consumer, not a GPIO controller,
so there is no need to include <linux/gpio.h>.

Remove the unneeded header file.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 drivers/input/touchscreen/colibri-vf50-ts.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Dmitry Torokhov Oct. 27, 2019, 6:15 p.m. UTC | #1
On Sat, Oct 26, 2019 at 03:59:56PM -0300, Fabio Estevam wrote:
> The touchscreen device is a GPIO consumer, not a GPIO controller,
> so there is no need to include <linux/gpio.h>.
> 
> Remove the unneeded header file.
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Applied, thank you.

> ---
>  drivers/input/touchscreen/colibri-vf50-ts.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/input/touchscreen/colibri-vf50-ts.c b/drivers/input/touchscreen/colibri-vf50-ts.c
> index 0e40897949bb..aa829725ded7 100644
> --- a/drivers/input/touchscreen/colibri-vf50-ts.c
> +++ b/drivers/input/touchscreen/colibri-vf50-ts.c
> @@ -9,7 +9,6 @@
>  
>  #include <linux/delay.h>
>  #include <linux/err.h>
> -#include <linux/gpio.h>
>  #include <linux/gpio/consumer.h>
>  #include <linux/iio/consumer.h>
>  #include <linux/iio/types.h>
> -- 
> 2.17.1
>
diff mbox series

Patch

diff --git a/drivers/input/touchscreen/colibri-vf50-ts.c b/drivers/input/touchscreen/colibri-vf50-ts.c
index 0e40897949bb..aa829725ded7 100644
--- a/drivers/input/touchscreen/colibri-vf50-ts.c
+++ b/drivers/input/touchscreen/colibri-vf50-ts.c
@@ -9,7 +9,6 @@ 
 
 #include <linux/delay.h>
 #include <linux/err.h>
-#include <linux/gpio.h>
 #include <linux/gpio/consumer.h>
 #include <linux/iio/consumer.h>
 #include <linux/iio/types.h>