net: mv643xx_eth: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Sun, 2 Oct 2016 10:06:48 +0000 (12:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Oct 2016 05:40:24 +0000 (01:40 -0400)
commit1e8a655db2f4dd8777eda08c2af7d1381b9eecca
tree34a97476c03ef1997a7d77aeeb531fd9596a9887
parent6b25e21fa6f26d0f0d45f161d169029411c84286
net: mv643xx_eth: 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
phydev 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/mv643xx_eth.c