diff mbox series

[3/3] Input: wacom_i2c - remove unneeded gpio.h header file

Message ID 20191026185958.24158-3-festevam@gmail.com (mailing list archive)
State Mainlined
Commit 78e45917bf7a066fffbeb3d87f4031109df6da55
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
There is no gpio functions used in the driver that is exported
by the gpio.h header, so remove this unneeded header.

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

Comments

Dmitry Torokhov Oct. 27, 2019, 6:16 p.m. UTC | #1
On Sat, Oct 26, 2019 at 03:59:58PM -0300, Fabio Estevam wrote:
> There is no gpio functions used in the driver that is exported
> by the gpio.h header, so remove this unneeded header.
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Applied, thank you.

> ---
>  drivers/input/touchscreen/wacom_i2c.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c
> index f017af8c2aa3..1afc6bde2891 100644
> --- a/drivers/input/touchscreen/wacom_i2c.c
> +++ b/drivers/input/touchscreen/wacom_i2c.c
> @@ -12,7 +12,6 @@
>  #include <linux/slab.h>
>  #include <linux/irq.h>
>  #include <linux/interrupt.h>
> -#include <linux/gpio.h>
>  #include <asm/unaligned.h>
>  
>  #define WACOM_CMD_QUERY0	0x04
> -- 
> 2.17.1
>
diff mbox series

Patch

diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c
index f017af8c2aa3..1afc6bde2891 100644
--- a/drivers/input/touchscreen/wacom_i2c.c
+++ b/drivers/input/touchscreen/wacom_i2c.c
@@ -12,7 +12,6 @@ 
 #include <linux/slab.h>
 #include <linux/irq.h>
 #include <linux/interrupt.h>
-#include <linux/gpio.h>
 #include <asm/unaligned.h>
 
 #define WACOM_CMD_QUERY0	0x04