net: ethernet: et131x: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Fri, 17 Jun 2016 21:32:14 +0000 (23:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Jun 2016 05:30:59 +0000 (22:30 -0700)
commita0bbb9fe2e26dba9524247f5d81e46f18ba69c9d
treebdd21eb5b88d728bb25968ef376c3aaf3cc98b36
parentaf73e72dccaf33d4ae2e9ccf48eeb527c5f24e1a
net: ethernet: et131x: 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/agere/et131x.c