net: ethernet: broadcom: bcm63xx: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Sun, 18 Sep 2016 14:59:06 +0000 (16:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Sep 2016 01:39:12 +0000 (21:39 -0400)
commit625eb8667d6fcb22e474502133986b2d2838917d
tree5ac7f80f616053144cfce64c417829d328e1361a
parent2406e5d4c4c48c9402c0629748c001178ea4c149
net: ethernet: broadcom: bcm63xx: 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/broadcom/bcm63xx_enet.c
drivers/net/ethernet/broadcom/bcm63xx_enet.h