diff options
author | 2016-05-16 01:35:13 +0200 | |
---|---|---|
committer | 2016-05-16 21:51:41 -0400 | |
commit | b3c40adcc9891a709d30b620f0cabd4679a355b5 (patch) | |
tree | 5cf8f4f321880ca94c479987336bced000e9a88c /net/switchdev/switchdev.c | |
parent | net: ethernet: gianfar: use phy_ethtool_{get|set}_link_ksettings (diff) | |
download | linux-dev-b3c40adcc9891a709d30b620f0cabd4679a355b5.tar.xz linux-dev-b3c40adcc9891a709d30b620f0cabd4679a355b5.zip |
net: ethernet: ftgmac100: 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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions