]> asedeno.scripts.mit.edu Git - linux.git/commit
net: ethernet: broadcom: b44: use phydev from struct net_device
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 17 Sep 2016 22:11:34 +0000 (00:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Sep 2016 01:39:11 +0000 (21:39 -0400)
commit51f141bec15aecb2ee5f0db77761dbf219333b93
tree94b492787ccc98a2d10d20cbef8060344c74fe65
parent583c139c71ae1919c7c94b43fb55d6777ef30eaf
net: ethernet: broadcom: b44: 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/b44.c
drivers/net/ethernet/broadcom/b44.h