net: ethernet: ixp4xx_eth: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 2 Jul 2016 12:06:14 +0000 (14:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jul 2016 22:59:52 +0000 (15:59 -0700)
commit2a62416dc67922458f809776d67138f0cc5544cd
treed525e05da745ec8350ee97a943cfaf44c64ca540
parent2c087409eb17c9f00d50e2d8e75a57724f6763f8
net: ethernet: ixp4xx_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
phy 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/xscale/ixp4xx_eth.c