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

2016-06-26 Thread Tobias Klauser
On 2016-06-25 at 16:33:41 +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 in the private structure, and update the driver to use the > one contained in struct net_devi

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

2016-06-25 Thread Max Filippov
On Sat, Jun 25, 2016 at 04:33:41PM +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 in the private structure, and update the driver to use the > one contained in struct

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

2016-06-25 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 in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/et