Skip to contentSkip to conversation

gpio: xra1403: Remove unused of_gpio.h inclusion

PATCH Applied Andy Shevchenko 3 participants 3 messages Jun 15, 2023 – Jun 19, 2023 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: xra1403: Remove unused of_gpio.h inclusion

The of_gpio.h is not and shouldn't be used in the GPIO drivers. Remove it.

---
 drivers/gpio/gpio-xra1403.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpio/gpio-xra1403.c +0 -1
index 51d6119e1bb4..bbc06cdd9634 100644
@@ -11,7 +11,6 @@
 #include <linux/module.h>
 #include <linux/mutex.h>
 #include <linux/of_device.h>
-#include <linux/of_gpio.h>
 #include <linux/seq_file.h>
 #include <linux/spi/spi.h>
 #include <linux/regmap.h>
Signature · 1 line
2.40.0.1.gaa8946217a0b
#2 lore raw
In reply to Andy Shevchenko
Quoted 22 lines · Andy Shevchenko

The of_gpio.h is not and shouldn't be used in the GPIO drivers. Remove it.

---
 drivers/gpio/gpio-xra1403.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpio/gpio-xra1403.c +0 -2
index 51d6119e1bb4..bbc06cdd9634 100644
@@ -11,7 +11,6 @@
 #include <linux/module.h>
 #include <linux/mutex.h>
 #include <linux/of_device.h>
-#include <linux/of_gpio.h>
 #include <linux/seq_file.h>
 #include <linux/spi/spi.h>
 #include <linux/regmap.h>
--
Quoted 2 lines

2.40.0.1.gaa8946217a0b

Applied, thanks!

Bart