]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: greth: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 30 Jul 2016 14:22:06 +0000 (16:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Aug 2016 22:42:21 +0000 (15:42 -0700)
commit580ea46f52a4d86c889936186969bdb98a4353f2
tree4b520ecf9216eeb4fa5d1e1692495b6ab59470b0
parentc669f8e5caf0d3a6141125d27284a6df69b274d5
net: ethernet: greth: 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/aeroflex/greth.c