]> 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)
commitdce65c38e186b07410072b17706bbbc09c99ccc1
tree5ac7f80f616053144cfce64c417829d328e1361a
parent55511dac1ca90c048d96c4a4b524634561067651
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