linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Input: ilitek_ts_i2c - stop including gpio.h
@ 2024-08-05  0:17 Dmitry Torokhov
  2024-08-05  8:15 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Torokhov @ 2024-08-05  0:17 UTC (permalink / raw)
  To: linux-input; +Cc: Linus Walleij, linux-kernel

The driver does not use legacy GPIO API, stop including this header.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
 drivers/input/touchscreen/ilitek_ts_i2c.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/input/touchscreen/ilitek_ts_i2c.c b/drivers/input/touchscreen/ilitek_ts_i2c.c
index 3eb762896345..ea244d023b77 100644
--- a/drivers/input/touchscreen/ilitek_ts_i2c.c
+++ b/drivers/input/touchscreen/ilitek_ts_i2c.c
@@ -15,7 +15,6 @@
 #include <linux/slab.h>
 #include <linux/delay.h>
 #include <linux/interrupt.h>
-#include <linux/gpio.h>
 #include <linux/gpio/consumer.h>
 #include <linux/errno.h>
 #include <linux/acpi.h>
-- 
2.46.0.rc2.264.g509ed76dc8-goog


-- 
Dmitry

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Input: ilitek_ts_i2c - stop including gpio.h
  2024-08-05  0:17 [PATCH] Input: ilitek_ts_i2c - stop including gpio.h Dmitry Torokhov
@ 2024-08-05  8:15 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2024-08-05  8:15 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input, linux-kernel

On Mon, Aug 5, 2024 at 2:17 AM Dmitry Torokhov
<dmitry.torokhov@gmail.com> wrote:

> The driver does not use legacy GPIO API, stop including this header.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-05  8:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-05  0:17 [PATCH] Input: ilitek_ts_i2c - stop including gpio.h Dmitry Torokhov
2024-08-05  8:15 ` Linus Walleij

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).