net: ethernet: sxgbe: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 25 Jun 2016 20:05:27 +0000 (22:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Jun 2016 13:12:35 +0000 (09:12 -0400)
commit13e4c230e05c24794e4bcba647ce44a3d13beaf7
tree8fc69870d37e23b0eab8d703ec5aee0496a10d2d
parent2ebc440a1f2be7c572c8ea174d1b2a6a0d4e41a3
net: ethernet: sxgbe: 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/samsung/sxgbe/sxgbe_ethtool.c