net: ethernet: lpc_eth: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Tue, 28 Jun 2016 21:59:44 +0000 (23:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2016 12:15:33 +0000 (08:15 -0400)
commitf786f3564c4f02d5026189d4e4fc5e544d125a0c
tree8638964f164a8b4453d80efab438aa26f60d71e4
parent8a6e9c670341db1ee913e3888cb44a08f18e7489
net: ethernet: lpc_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/nxp/lpc_eth.c