net: ethernet: bgmac: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Sun, 19 Jun 2016 20:37:05 +0000 (22:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jun 2016 20:23:29 +0000 (16:23 -0400)
commitb21fcb259313bcf7d4f73ecd5e44948995c8957c
treecb9c0aa0f0b6d20c70a8777e6c89d93d7d2f38a0
parent11bbb171b921dc777113a2383c945d66db229eaf
net: ethernet: bgmac: 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/bgmac.c
drivers/net/ethernet/broadcom/bgmac.h