net: ethernet: marvell: pxa168_eth: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Sun, 17 Jul 2016 21:30:45 +0000 (23:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Jul 2016 06:22:02 +0000 (23:22 -0700)
commit7d32184513baca1b66383825d57e24be62af40d1
tree475ed05e05a3c5e2c1ee18a303e2242beb944cf1
parentfe7c11b2cf41e2dfee30a46fcc027c0e84d0f3cb
net: ethernet: marvell: pxa168_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/pxa168_eth.c