aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/smsc
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2016-07-03 00:05:04 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-04 15:59:51 -0700
commitd1e3a356f569adefde26c8f5d514cd108617bcff (patch)
tree61c15ee90b225a1972edc7b265409adf8caa8549 /drivers/net/ethernet/smsc
parentnet: ethernet: cavium: octeon: use phy_ethtool_{get|set}_link_ksettings (diff)
downloadlinux-dev-d1e3a356f569adefde26c8f5d514cd108617bcff.tar.xz
linux-dev-d1e3a356f569adefde26c8f5d514cd108617bcff.zip
net: ethernet: lantiq_etop: 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 phy 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>
Diffstat (limited to 'drivers/net/ethernet/smsc')
0 files changed, 0 insertions, 0 deletions