]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda7a690054263d97891ff7a0752064de48d0b206
tree8fc69870d37e23b0eab8d703ec5aee0496a10d2d
parente8e8f0177eed5be323e7562c9c22a263e7842608
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