Message ID | 20240307122231.3677241-1-andriy.shevchenko@linux.intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 86a7abbb221057dd362bb7af05ee0464d3846850 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next,v1,1/1] net: mdio_bus: Remove unused of_gpio.h | expand |
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: 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. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > --- > 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!
diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c index b765466e767f..8b9ead76e40e 100644 --- a/drivers/net/phy/mdio_bus.c +++ b/drivers/net/phy/mdio_bus.c @@ -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>
of_gpio.h is deprecated and subject to remove. The driver doesn't use it, simply remove the unused header. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> --- drivers/net/phy/mdio_bus.c | 2 -- 1 file changed, 2 deletions(-)