]> 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)
commit8dc0158e0e8bccd24b5c1c3aeb227c3ad5abbe52
tree4b520ecf9216eeb4fa5d1e1692495b6ab59470b0
parent0697a8c6597039779446e2100ef3f04c739a4585
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