net: phy: at803x: Replace of_gpio.h with what indeed is used
Subsystems (3)
PATCH 1/1 net: phy: at803x: Replace of_gpio.h with what indeed is used
of_gpio.h in this driver is solely used as a proxy to other headers. This is incorrect usage of the of_gpio.h. Replace it .h with what indeed is used in the code.
--- drivers/net/phy/at803x.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/net/phy/at803x.c +1 -2
@@ -13,12 +13,11 @@#include <linux/netdevice.h> #include <linux/etherdevice.h> #include <linux/ethtool_netlink.h> -#include <linux/of_gpio.h> #include <linux/bitfield.h> -#include <linux/gpio/consumer.h> #include <linux/regulator/of_regulator.h> #include <linux/regulator/driver.h> #include <linux/regulator/consumer.h> +#include <linux/of.h> #include <linux/phylink.h> #include <linux/sfp.h> #include <dt-bindings/net/qca-ar803x.h>
Signature · 1 line
2.39.2
Quoted 5 lines · Andy Shevchenko
of_gpio.hin this driver is solely used as a proxy to other headers. This is incorrect usage of theof_gpio.h. Replace it .h with what indeed is used in the code.Signed-off-by Andy Shevchenko <[email protected]>
Andrew
This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:
Quoted 8 lines · On Thu, 16 Mar 2023 14:08:26 +0200 you wrote:
of_gpio.hin this driver is solely used as a proxy to other headers. This is incorrect usage of theof_gpio.h. Replace it .h with what indeed is used in the code.Signed-off-by Andy Shevchenko <[email protected]>--- drivers/net/phy/at803x.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Here is the summary with links:
- [net-next,v1,1/1] net: phy: at803x: Replace of_gpio.h with what indeed is used
https://git.kernel.org/netdev/net-next/c/a593a2fcfdfb
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html