net: ethernet: adi: bfin_mac: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 16 Jul 2016 23:10:14 +0000 (01:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Jul 2016 06:22:02 +0000 (23:22 -0700)
commitec87485dbecd95af06ca8b681681c433679db974
tree8ef40bfcd1fc4b1d2acc80c38c5e36457162fb7b
parentbd25997d77730d0c6679883a899899a939c704b3
net: ethernet: adi: bfin_mac: 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/adi/bfin_mac.c
drivers/net/ethernet/adi/bfin_mac.h