* [PATCH 1/3] Input: colibri-vf50-ts - remove unneeded gpio.h header file
@ 2019-10-26 18:59 Fabio Estevam
2019-10-26 18:59 ` [PATCH 2/3] Input: s3c2410_ts " Fabio Estevam
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Fabio Estevam @ 2019-10-26 18:59 UTC (permalink / raw)
To: dmitry.torokhov; +Cc: linux-input, 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 <festevam@gmail.com>
---
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/3] Input: s3c2410_ts - remove unneeded gpio.h header file
2019-10-26 18:59 [PATCH 1/3] Input: colibri-vf50-ts - remove unneeded gpio.h header file Fabio Estevam
@ 2019-10-26 18:59 ` Fabio Estevam
2019-10-27 18:15 ` Dmitry Torokhov
2019-10-26 18:59 ` [PATCH 3/3] Input: wacom_i2c " Fabio Estevam
2019-10-27 18:15 ` [PATCH 1/3] Input: colibri-vf50-ts " Dmitry Torokhov
2 siblings, 1 reply; 6+ messages in thread
From: Fabio Estevam @ 2019-10-26 18:59 UTC (permalink / raw)
To: dmitry.torokhov; +Cc: linux-input, Fabio Estevam
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/s3c2410_ts.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/input/touchscreen/s3c2410_ts.c b/drivers/input/touchscreen/s3c2410_ts.c
index b346e7cafd62..82920ff46f72 100644
--- a/drivers/input/touchscreen/s3c2410_ts.c
+++ b/drivers/input/touchscreen/s3c2410_ts.c
@@ -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>
--
2.17.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/3] Input: wacom_i2c - remove unneeded gpio.h header file
2019-10-26 18:59 [PATCH 1/3] Input: colibri-vf50-ts - remove unneeded gpio.h header file Fabio Estevam
2019-10-26 18:59 ` [PATCH 2/3] Input: s3c2410_ts " Fabio Estevam
@ 2019-10-26 18:59 ` Fabio Estevam
2019-10-27 18:16 ` Dmitry Torokhov
2019-10-27 18:15 ` [PATCH 1/3] Input: colibri-vf50-ts " Dmitry Torokhov
2 siblings, 1 reply; 6+ messages in thread
From: Fabio Estevam @ 2019-10-26 18:59 UTC (permalink / raw)
To: dmitry.torokhov; +Cc: linux-input, Fabio Estevam
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(-)
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/3] Input: colibri-vf50-ts - remove unneeded gpio.h header file
2019-10-26 18:59 [PATCH 1/3] Input: colibri-vf50-ts - remove unneeded gpio.h header file Fabio Estevam
2019-10-26 18:59 ` [PATCH 2/3] Input: s3c2410_ts " Fabio Estevam
2019-10-26 18:59 ` [PATCH 3/3] Input: wacom_i2c " Fabio Estevam
@ 2019-10-27 18:15 ` Dmitry Torokhov
2 siblings, 0 replies; 6+ messages in thread
From: Dmitry Torokhov @ 2019-10-27 18:15 UTC (permalink / raw)
To: Fabio Estevam; +Cc: linux-input
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
>
--
Dmitry
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/3] Input: s3c2410_ts - remove unneeded gpio.h header file
2019-10-26 18:59 ` [PATCH 2/3] Input: s3c2410_ts " Fabio Estevam
@ 2019-10-27 18:15 ` Dmitry Torokhov
0 siblings, 0 replies; 6+ messages in thread
From: Dmitry Torokhov @ 2019-10-27 18:15 UTC (permalink / raw)
To: Fabio Estevam; +Cc: linux-input
On Sat, Oct 26, 2019 at 03:59:57PM -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/s3c2410_ts.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/input/touchscreen/s3c2410_ts.c b/drivers/input/touchscreen/s3c2410_ts.c
> index b346e7cafd62..82920ff46f72 100644
> --- a/drivers/input/touchscreen/s3c2410_ts.c
> +++ b/drivers/input/touchscreen/s3c2410_ts.c
> @@ -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>
> --
> 2.17.1
>
--
Dmitry
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 3/3] Input: wacom_i2c - remove unneeded gpio.h header file
2019-10-26 18:59 ` [PATCH 3/3] Input: wacom_i2c " Fabio Estevam
@ 2019-10-27 18:16 ` Dmitry Torokhov
0 siblings, 0 replies; 6+ messages in thread
From: Dmitry Torokhov @ 2019-10-27 18:16 UTC (permalink / raw)
To: Fabio Estevam; +Cc: linux-input
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
>
--
Dmitry
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-10-27 18:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-26 18:59 [PATCH 1/3] Input: colibri-vf50-ts - remove unneeded gpio.h header file Fabio Estevam
2019-10-26 18:59 ` [PATCH 2/3] Input: s3c2410_ts " Fabio Estevam
2019-10-27 18:15 ` Dmitry Torokhov
2019-10-26 18:59 ` [PATCH 3/3] Input: wacom_i2c " Fabio Estevam
2019-10-27 18:16 ` Dmitry Torokhov
2019-10-27 18:15 ` [PATCH 1/3] Input: colibri-vf50-ts " Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).