Skip to contentSkip to conversation

phy: sun4i-usb: Remove unused of_gpio.h

PATCH Applied Andy Shevchenko 3 participants 3 messages Oct 31, 2024 – Dec 8, 2024

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

PATCH 1/1 phy: sun4i-usb: Remove unused of_gpio.h

of_gpio.h is deprecated and subject to remove. The drivers in question don't use it, simply remove the unused header.

---
 drivers/phy/allwinner/phy-sun4i-usb.c | 1 -
 1 file changed, 1 deletion(-)
drivers/phy/allwinner/phy-sun4i-usb.c +0 -1
index cd159a71b23c..29b8fd4b9351 100644
@@ -23,7 +23,6 @@
 #include <linux/module.h>
 #include <linux/mutex.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/phy/phy.h>
 #include <linux/phy/phy-sun4i-usb.h>
 #include <linux/platform_device.h>
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · On Thu, 31 Oct 2024 12:46:31 +0200 Andy Shevchenko…

of_gpio.h is deprecated and subject to remove. The drivers in question don't use it, simply remove the unused header.

Cheers,
Andre

Quoted 16 lines
---
 drivers/phy/allwinner/phy-sun4i-usb.c | 1 -
 1 file changed, 1 deletion(-)
drivers/phy/allwinner/phy-sun4i-usb.c +0 -1
index cd159a71b23c..29b8fd4b9351 100644
@@ -23,7 +23,6 @@
 #include <linux/module.h>
 #include <linux/mutex.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/phy/phy.h>
 #include <linux/phy/phy-sun4i-usb.h>
 #include <linux/platform_device.h>
maintainer Applied
#2 lore raw
In reply to Andy Shevchenko
Quoted 4 lines · Andy Shevchenko

of_gpio.h is deprecated and subject to remove. The drivers in question don't use it, simply remove the unused header.

Applied, thanks!

[1/1] phy: sun4i-usb: Remove unused of_gpio.h

      commit: b6096751a652a7e7526d4b3d59971a40c3287ef7

Best regards,

Signature · 1 line
~Vinod