diff options
author | Philippe Reynes <tremyfr@gmail.com> | 2016-07-14 23:44:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-15 16:41:34 -0700 |
commit | 80721e7fa68f914a21b2685a01399b3aa80ac116 (patch) | |
tree | 3af84b8e71392ecff15d71e33f486cc75ee8bd59 /drivers/net/ethernet/ethoc.c | |
parent | net: ethernet: xilinx: axienet: use phy_ethtool_{get|set}_link_ksettings (diff) | |
download | linux-dev-80721e7fa68f914a21b2685a01399b3aa80ac116.tar.xz linux-dev-80721e7fa68f914a21b2685a01399b3aa80ac116.zip |
net: ethernet: pasemi_mac: 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/ethoc.c')
0 files changed, 0 insertions, 0 deletions