net: ethernet: dnet: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Thu, 23 Jun 2016 21:48:58 +0000 (23:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Jun 2016 09:10:26 +0000 (05:10 -0400)
commit958974fdaf7fcd26fcfcf409e3e61fdc3ab4020c
treefd4361ddc0c5c41ac2b674c43d3931f99bd62343
parentde2fbe7ae3637533ebf711b91b04988633bf38ee
net: ethernet: dnet: 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/dnet.c
drivers/net/ethernet/dnet.h