mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next] net: phy: drop duplicated header include in mdio-device
@ 2026-07-15 20:12 Maxime Chevallier
  2026-07-15 20:17 ` Andrew Lunn
  2026-07-21 16:20 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Maxime Chevallier @ 2026-07-15 20:12 UTC (permalink / raw)
  To: Andrew Lunn, davem, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Russell King, Heiner Kallweit
  Cc: Maxime Chevallier, netdev, linux-kernel, thomas.petazzoni

During a tree-wide gpio include cleanup, the linux/gpio.h include was
replaced with linux/gpio/consumer.h.

mdio-device.c was already including that header, resulting in a
duplicated inclusion. Let's drop it.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
---
Yet another small cleanup while looking at bus-scan improvements. If I
find more I'll group them in a dedicated cleanup series, but I'll likely
not look at this stuff in the coming days so I might as well send this
one now, sorry for the low-value churn...

 drivers/net/phy/mdio_device.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/phy/mdio_device.c b/drivers/net/phy/mdio_device.c
index a18263d5bb02..06151f207134 100644
--- a/drivers/net/phy/mdio_device.c
+++ b/drivers/net/phy/mdio_device.c
@@ -9,7 +9,6 @@
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <linux/gpio/consumer.h>
-#include <linux/gpio/consumer.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/kernel.h>
-- 
2.55.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] net: phy: drop duplicated header include in mdio-device
  2026-07-15 20:12 [PATCH net-next] net: phy: drop duplicated header include in mdio-device Maxime Chevallier
@ 2026-07-15 20:17 ` Andrew Lunn
  2026-07-21 16:20 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2026-07-15 20:17 UTC (permalink / raw)
  To: Maxime Chevallier
  Cc: Andrew Lunn, davem, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Russell King, Heiner Kallweit, netdev, linux-kernel,
	thomas.petazzoni

On Wed, Jul 15, 2026 at 10:12:12PM +0200, Maxime Chevallier wrote:
> During a tree-wide gpio include cleanup, the linux/gpio.h include was
> replaced with linux/gpio/consumer.h.
> 
> mdio-device.c was already including that header, resulting in a
> duplicated inclusion. Let's drop it.
> 
> Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] net: phy: drop duplicated header include in mdio-device
  2026-07-15 20:12 [PATCH net-next] net: phy: drop duplicated header include in mdio-device Maxime Chevallier
  2026-07-15 20:17 ` Andrew Lunn
@ 2026-07-21 16:20 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-07-21 16:20 UTC (permalink / raw)
  To: Maxime Chevallier
  Cc: andrew+netdev, davem, edumazet, kuba, pabeni, linux, hkallweit1,
	netdev, linux-kernel, thomas.petazzoni

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 15 Jul 2026 22:12:12 +0200 you wrote:
> During a tree-wide gpio include cleanup, the linux/gpio.h include was
> replaced with linux/gpio/consumer.h.
> 
> mdio-device.c was already including that header, resulting in a
> duplicated inclusion. Let's drop it.
> 
> Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
> 
> [...]

Here is the summary with links:
  - [net-next] net: phy: drop duplicated header include in mdio-device
    https://git.kernel.org/netdev/net-next/c/7e7bd5158e98

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:[~2026-07-21 16:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-15 20:12 [PATCH net-next] net: phy: drop duplicated header include in mdio-device Maxime Chevallier
2026-07-15 20:17 ` Andrew Lunn
2026-07-21 16: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

all inboxes | Powered by JetHome®