net: ethernet: ll_temac: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Wed, 13 Jul 2016 23:48:52 +0000 (01:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jul 2016 00:42:31 +0000 (17:42 -0700)
commite6dab9021f13ad961aadb24770931e30e90e8aa7
treeab3ce7056fca7f85ceeb7ed10dad025b24cc2166
parent31abbe34e0f07e8c92f68865cb1d6dde0fe1d52d
net: ethernet: ll_temac: 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/xilinx/ll_temac_main.c