net: ethernet: nb8800: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 18 Jun 2016 21:16:54 +0000 (23:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jun 2016 17:55:16 +0000 (10:55 -0700)
commit46bb0bb094661ef6d251c1f63f6452123f6b273b
treee6ece779088d4b79369a5fe04e9876285e5ac112
parentbd081e4b0252c534c27642c9bd8a296ec1e03431
net: ethernet: nb8800: 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>
Acked-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aurora/nb8800.c
drivers/net/ethernet/aurora/nb8800.h