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

2016-06-29 Thread David Miller
From: Philippe Reynes Date: Tue, 28 Jun 2016 00:08:11 +0200 > The private structure contain a pointer to phydev, but the structure > net_device already contain such pointer. So we can remove the pointer > phydev in the private structure, and update the driver to use the > one contained in struct

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

2016-06-27 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 phydev 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