* [PATCH v1 1/1] net: stmmac: dwmac-rk: Remove unused of_gpio.h
@ 2024-03-13 14:00 Andy Shevchenko
2024-03-13 14:17 ` Sebastian Reichel
2024-03-15 12:20 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Andy Shevchenko @ 2024-03-13 14:00 UTC (permalink / raw)
To: Sebastian Reichel, netdev, linux-stm32, linux-arm-kernel,
linux-kernel
Cc: Alexandre Torgue, Jose Abreu, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, Maxime Coquelin, Andy Shevchenko
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/ethernet/stmicro/stmmac/dwmac-rk.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
index 382e8de1255d..7ae04d8d291c 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
@@ -12,10 +12,8 @@
#include <linux/clk.h>
#include <linux/phy.h>
#include <linux/of_net.h>
-#include <linux/gpio.h>
#include <linux/module.h>
#include <linux/of.h>
-#include <linux/of_gpio.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>
#include <linux/delay.h>
--
2.43.0.rc1.1.gbec44491f096
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] net: stmmac: dwmac-rk: Remove unused of_gpio.h
2024-03-13 14:00 [PATCH v1 1/1] net: stmmac: dwmac-rk: Remove unused of_gpio.h Andy Shevchenko
@ 2024-03-13 14:17 ` Sebastian Reichel
2024-03-15 12:20 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Sebastian Reichel @ 2024-03-13 14:17 UTC (permalink / raw)
To: Andy Shevchenko
Cc: netdev, linux-stm32, linux-arm-kernel, linux-kernel,
Alexandre Torgue, Jose Abreu, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, Maxime Coquelin
[-- Attachment #1: Type: text/plain, Size: 1089 bytes --]
Hi,
On Wed, Mar 13, 2024 at 04:00:57PM +0200, Andy Shevchenko 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>
> ---
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
-- Sebastian
> drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
> index 382e8de1255d..7ae04d8d291c 100644
> --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
> +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
> @@ -12,10 +12,8 @@
> #include <linux/clk.h>
> #include <linux/phy.h>
> #include <linux/of_net.h>
> -#include <linux/gpio.h>
> #include <linux/module.h>
> #include <linux/of.h>
> -#include <linux/of_gpio.h>
> #include <linux/platform_device.h>
> #include <linux/regulator/consumer.h>
> #include <linux/delay.h>
> --
> 2.43.0.rc1.1.gbec44491f096
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] net: stmmac: dwmac-rk: Remove unused of_gpio.h
2024-03-13 14:00 [PATCH v1 1/1] net: stmmac: dwmac-rk: Remove unused of_gpio.h Andy Shevchenko
2024-03-13 14:17 ` Sebastian Reichel
@ 2024-03-15 12:20 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-03-15 12:20 UTC (permalink / raw)
To: Andy Shevchenko
Cc: sebastian.reichel, netdev, linux-stm32, linux-arm-kernel,
linux-kernel, alexandre.torgue, joabreu, davem, edumazet, kuba,
pabeni, mcoquelin.stm32
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:
On Wed, 13 Mar 2024 16:00:57 +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/ethernet/stmicro/stmmac/dwmac-rk.c | 2 --
> 1 file changed, 2 deletions(-)
Here is the summary with links:
- [v1,1/1] net: stmmac: dwmac-rk: Remove unused of_gpio.h
https://git.kernel.org/netdev/net-next/c/19c5c04d3178
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-15 12:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-13 14:00 [PATCH v1 1/1] net: stmmac: dwmac-rk: Remove unused of_gpio.h Andy Shevchenko
2024-03-13 14:17 ` Sebastian Reichel
2024-03-15 12:20 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).