net: ethernet: ftgmac100: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sun, 15 May 2016 23:35:14 +0000 (01:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 May 2016 01:51:41 +0000 (21:51 -0400)
commitfd24d72ca9b52558b1511edc814951cdfe5f21cf
tree75b5d7ca3d368fd1eac512478c7ca375a89ba302
parentb3c40adcc9891a709d30b620f0cabd4679a355b5
net: ethernet: ftgmac100: 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/faraday/ftgmac100.c