summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/allwinner/sun4i-emac.h
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2016-06-18 15:15:39 +0200
committerDavid S. Miller <davem@davemloft.net>2016-06-22 16:22:41 -0400
commit5427ccafe61a95b945730a23c3f7645a96a24fd7 (patch)
tree7d1de23820876439d96bb98d880f6918c5a20393 /drivers/net/ethernet/allwinner/sun4i-emac.h
parent0e9390ebf1fe0d38f7df66a3d8183cbc5349a564 (diff)
net: ethernet: sun4i-emac: 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>
Diffstat (limited to 'drivers/net/ethernet/allwinner/sun4i-emac.h')
0 files changed, 0 insertions, 0 deletions