Skip to contentSkip to conversation

phy: sophgo: Remove unused of_gpio.h

PATCH Applied Andy Shevchenko 4 participants 4 messages Nov 12, 2025 – Nov 18, 2025

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

PATCH 1/1 phy: sophgo: Remove unused of_gpio.h

of_gpio.h is deprecated and subject to remove.
The driver doesn't use it, simply remove the unused header.

---
 drivers/phy/sophgo/phy-cv1800-usb2.c | 1 -
 1 file changed, 1 deletion(-)
drivers/phy/sophgo/phy-cv1800-usb2.c +0 -1
index 64f8e37b4b52..6fe846534e9c 100644
@@ -11,7 +11,6 @@
 #include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of_address.h>
-#include <linux/of_gpio.h>
 #include <linux/platform_device.h>
 #include <linux/phy/phy.h>
 #include <linux/regmap.h>
Signature · 1 line
2.50.1
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 13 lines · Andy Shevchenko

of_gpio.h is deprecated and subject to remove.
The driver doesn't use it, simply remove the unused header.

---
  drivers/phy/sophgo/phy-cv1800-usb2.c | 1 -
  1 file changed, 1 deletion(-)
drivers/phy/sophgo/phy-cv1800-usb2.c +0 -0
index 64f8e37b4b52..6fe846534e9c 100644

drivers/phy/sophgo/phy-cv1800-usb2.c line 16

Quoted 7 lines
drivers/phy/sophgo/phy-cv1800-usb2.c +0 -1
@@ -11,7 +11,6 @@
  #include <linux/module.h>
  #include <linux/of.h>
  #include <linux/of_address.h>
-#include <linux/of_gpio.h>
  #include <linux/platform_device.h>
  #include <linux/phy/phy.h>
  #include <linux/regmap.h>
maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Andy Shevchenko
Quoted 28 lines · Andy Shevchenko

of_gpio.h is deprecated and subject to remove.
The driver doesn't use it, simply remove the unused header.

---
 drivers/phy/sophgo/phy-cv1800-usb2.c | 1 -
 1 file changed, 1 deletion(-)
drivers/phy/sophgo/phy-cv1800-usb2.c +0 -1
index 64f8e37b4b52..6fe846534e9c 100644
@@ -11,7 +11,6 @@
 #include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of_address.h>
-#include <linux/of_gpio.h>
 #include <linux/platform_device.h>
 #include <linux/phy/phy.h>
 #include <linux/regmap.h>
Signature · 7 lines
2.50.1


-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy

LGTM

maintainer Applied
#3 lore raw
In reply to Andy Shevchenko
Quoted 4 lines · Andy Shevchenko

of_gpio.h is deprecated and subject to remove.
The driver doesn't use it, simply remove the unused header.

Applied, thanks!

[1/1] phy: sophgo: Remove unused of_gpio.h

      commit: 42690b8ec861b502538e425c5a7feb7a38764f04

Best regards,

Signature · 1 line
~Vinod