Re: [PATCH 1/2] net: ethernet: renesas: sh_eth: use phydev from struct net_device

2016-08-10 Thread Simon Horman
[CC linux-sh as some of those boards use this driver] On Wed, Aug 10, 2016 at 12:04:48AM +0200, Philippe Reynes wrote: > The private structure contain a pointer to phydev, but the structure > net_device already contain such pointer. So we can remove the pointer > phy_dev in the private structure,

[PATCH 1/2] net: ethernet: renesas: sh_eth: use phydev from struct net_device

2016-08-09 Thread Philippe Reynes
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phy_dev in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes --- drivers/net/etherne