net: ethernet: et131x: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Fri, 17 Jun 2016 21:32:15 +0000 (23:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Jun 2016 05:30:59 +0000 (22:30 -0700)
commitadc01582e36fc228f6f1c82188f7501eb4c6154f
treeebb737540e75949d15d45ff7df3fd4a816605fb3
parenta0bbb9fe2e26dba9524247f5d81e46f18ba69c9d
net: ethernet: et131x: 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/ethernet/agere/et131x.c