net: ethernet: fec: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Mon, 9 May 2016 22:19:43 +0000 (00:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 May 2016 19:06:20 +0000 (15:06 -0400)
commit9365fbf5781f2c7f182e8b5c78ff757d3ff9d722
treeef31fbbd76a411f195c5065a226c41b18ef7b2fb
parent45f5c327ce5ce9178147279b5d6b95eac216c84c
net: ethernet: fec: 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/freescale/fec_main.c