]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1f83188f4343385ae59268f9aaaf995b6b6b150a
tree6c1b950d7bf963c2160219d7bf7cf478c6a4dee3
parent52618e922f2d59d6a16c8ea1659b56f817de1351
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