]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: altera_tse: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 18 Jun 2016 14:37:21 +0000 (16:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jun 2016 20:22:41 +0000 (16:22 -0400)
commit49429227b3db5eed9221361dc1faaabfe25231bb
treef11ecdcc5664d631701cd21664dfff9220647f27
parentaf91ab4a1f2e8d7fa80018d75ac7d0e4a8d02052
net: ethernet: altera_tse: 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/altera/altera_tse_ethtool.c