diff options
author | Philippe Reynes <tremyfr@gmail.com> | 2016-07-15 12:39:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-16 01:41:35 +0200 |
commit | b401a9bce7f3e73ebbe10639e0986f7f3b01e5ca (patch) | |
tree | 5e4872c7e4db6079e3bf408b1d2afeca24d23a29 /lib/test-kstrtox.c | |
parent | net: ethernet: amd: au1000_eth: use phy_ethtool_{get|set}_link_ksettings (diff) | |
download | linux-b401a9bce7f3e73ebbe10639e0986f7f3b01e5ca.tar.xz linux-b401a9bce7f3e73ebbe10639e0986f7f3b01e5ca.zip |
net: ethernet: ti: cpmac: 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 'lib/test-kstrtox.c')
0 files changed, 0 insertions, 0 deletions