Input: colibri-vf50-ts - remove unneeded gpio.h header file
Subsystems (3)
PATCH 1/3 Input: colibri-vf50-ts - remove unneeded gpio.h header file
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.
--- drivers/input/touchscreen/colibri-vf50-ts.c | 1 - 1 file changed, 1 deletion(-)
drivers/input/touchscreen/colibri-vf50-ts.c +0 -1
@@ -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>
Signature · 1 line
2.17.1
PATCH 2/3 Input: s3c2410_ts - remove unneeded gpio.h header file
There is no gpio functions used in the driver that is exported by the gpio.h header, so remove this unneeded header.
--- drivers/input/touchscreen/s3c2410_ts.c | 1 - 1 file changed, 1 deletion(-)
drivers/input/touchscreen/s3c2410_ts.c +0 -1
@@ -13,7 +13,6 @@#include <linux/errno.h> #include <linux/kernel.h> #include <linux/module.h> -#include <linux/gpio.h> #include <linux/input.h> #include <linux/delay.h> #include <linux/interrupt.h>
Signature · 1 line
2.17.1
Re: [PATCH 2/3] Input: s3c2410_ts - remove unneeded gpio.h header file
Quoted 4 lines · Fabio Estevam
There is no gpio functions used in the driver that is exported by the
gpio.hheader, so remove this unneeded header.Signed-off-by Fabio Estevam <[email protected]>
Applied, thank you.
Quoted 19 lines
--- drivers/input/touchscreen/s3c2410_ts.c | 1 - 1 file changed, 1 deletion(-)drivers/input/touchscreen/s3c2410_ts.c +0
-1@@ -13,7 +13,6 @@#include <linux/errno.h> #include <linux/kernel.h> #include <linux/module.h> -#include <linux/gpio.h> #include <linux/input.h> #include <linux/delay.h> #include <linux/interrupt.h> Signature · 1 line
2.17.1
Signature · 1 line
Dmitry
PATCH 3/3 Input: wacom_i2c - remove unneeded gpio.h header file
In reply to Fabio EstevamThere is no gpio functions used in the driver that is exported by the gpio.h header, so remove this unneeded header.
--- drivers/input/touchscreen/wacom_i2c.c | 1 - 1 file changed, 1 deletion(-)
drivers/input/touchscreen/wacom_i2c.c +0 -1
@@ -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
Signature · 1 line
2.17.1
Re: [PATCH 3/3] Input: wacom_i2c - remove unneeded gpio.h header file
Quoted 4 lines · Fabio Estevam
There is no gpio functions used in the driver that is exported by the
gpio.hheader, so remove this unneeded header.Signed-off-by Fabio Estevam <[email protected]>
Applied, thank you.
Quoted 19 lines
--- drivers/input/touchscreen/wacom_i2c.c | 1 - 1 file changed, 1 deletion(-)drivers/input/touchscreen/wacom_i2c.c +0
-1@@ -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 0x04Signature · 1 line
2.17.1
Signature · 1 line
Dmitry
Quoted 6 lines · Fabio Estevam
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 <[email protected]>
Applied, thank you.
Quoted 19 lines
--- drivers/input/touchscreen/colibri-vf50-ts.c | 1 - 1 file changed, 1 deletion(-)drivers/input/touchscreen/colibri-vf50-ts.c +0
-1@@ -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> Signature · 1 line
2.17.1
Signature · 1 line
Dmitry