[PATCH] Input: ilitek_ts_i2c - stop including gpio.h

Dmitry Torokhov posted 1 patch 1 year, 4 months ago
drivers/input/touchscreen/ilitek_ts_i2c.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] Input: ilitek_ts_i2c - stop including gpio.h
Posted by Dmitry Torokhov 1 year, 4 months ago
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
Re: [PATCH] Input: ilitek_ts_i2c - stop including gpio.h
Posted by Linus Walleij 1 year, 4 months ago
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