Re: [PATCH net-next 3/7] net: freescale: ucc_geth: Use netdev->phydev to access the PHY
From: Andrew Lunn <andrew@lunn.ch>
Date: 2024-11-07 17:37:36
Also in:
lkml, netdev
From: Andrew Lunn <andrew@lunn.ch>
Date: 2024-11-07 17:37:36
Also in:
lkml, netdev
On Thu, Nov 07, 2024 at 06:02:50PM +0100, Maxime Chevallier wrote:
As this driver pre-dates phylib, it uses a private pointer to get a reference to the attached phy_device. Drop that pointer and use the netdev's pointer instead. Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew