Skip to contentSkip to conversation

net: mdio_bus: Remove unused of_gpio.h

PATCH Applied Andy Shevchenko 2 participants 2 messages Mar 7, 2024 – Mar 11, 2024

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

PATCH 1/1 net: mdio_bus: 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/net/phy/mdio_bus.c | 2 --
 1 file changed, 2 deletions(-)
drivers/net/phy/mdio_bus.c +0 -2
index b765466e767f..8b9ead76e40e 100644
@@ -13,7 +13,6 @@
 #include <linux/errno.h>
 #include <linux/etherdevice.h>
 #include <linux/ethtool.h>
-#include <linux/gpio.h>
 #include <linux/gpio/consumer.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
@@ -25,7 +24,6 @@
 #include <linux/module.h>
 #include <linux/netdevice.h>
 #include <linux/of_device.h>
-#include <linux/of_gpio.h>
 #include <linux/of_mdio.h>
 #include <linux/phy.h>
 #include <linux/reset.h>
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
#1 lore raw
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 7 lines · On Thu, 7 Mar 2024 14:22:31 +0200 you wrote:

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

---
 drivers/net/phy/mdio_bus.c | 2 --
 1 file changed, 2 deletions(-)

Here is the summary with links:
- [net-next,v1,1/1] net: mdio_bus: Remove unused of_gpio.h

    https://git.kernel.org/netdev/net-next/c/86a7abbb2210

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html