net: usb: ax88172x: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Fri, 15 Jul 2016 13:25:36 +0000 (15:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Jul 2016 04:54:40 +0000 (21:54 -0700)
commitb3f2cf8feecfa89b3e94a61c0ca29ea59e36d146
tree6c1b950d7bf963c2160219d7bf7cf478c6a4dee3
parent009722a2ff079bf58d3ba3378eb6d898e1fc4b31
net: usb: ax88172x: use phy_ethtool_{get|set}_link_ksettings

There are two generics functions phy_ethtool_{get|set}_link_ksettings,
so we can use them instead of defining the same code in the driver.

Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/ax88172a.c