net: ethernet: marvell: mvneta: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 30 Jul 2016 15:42:11 +0000 (17:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Aug 2016 22:42:21 +0000 (15:42 -0700)
commitc6c022e3602a8165ead71d60ac7ac22e07c81d37
treee5fb05f1e165b6c31cb8961d0f29f03d921f4e0e
parent72582fdb92457a1550dac0e271bde9dd906fda05
net: ethernet: marvell: mvneta: use phydev from struct net_device

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 <tremyfr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c