Skip to contentSkip to conversation

gpio: lpc18xx: Remove unused of_gpio.h inclusion

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

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: lpc18xx: 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-lpc18xx.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpio/gpio-lpc18xx.c +0 -1
index d711ae06747e..ed3f653a1dfc 100644
@@ -14,7 +14,6 @@
 #include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of_address.h>
-#include <linux/of_gpio.h>
 #include <linux/of_irq.h>
 #include <linux/pinctrl/consumer.h>
 #include <linux/platform_device.h>
Signature · 7 lines
2.40.0.1.gaa8946217a0b


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer Acked-by on v1 1/1
#2 lore raw
In reply to Andy Shevchenko
Quoted 5 lines · Andy Shevchenko

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

---

Thank you for the correct change.

--
Best wishes,
Vladimir

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#3 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-lpc18xx.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpio/gpio-lpc18xx.c +0 -2
index d711ae06747e..ed3f653a1dfc 100644
@@ -14,7 +14,6 @@
 #include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of_address.h>
-#include <linux/of_gpio.h>
 #include <linux/of_irq.h>
 #include <linux/pinctrl/consumer.h>
 #include <linux/platform_device.h>
--
Quoted 2 lines

2.40.0.1.gaa8946217a0b

Applied, thanks!

Bart