]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2e258cdd1460fb4392427c69f45de425aa92d9d1
tree5ac7f80f616053144cfce64c417829d328e1361a
parentc7ac5c701abae41515251a717a6010f0340954fe
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