]> 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)
commitde04bb9864ce07695b01c70b4ff967df83e3ba45
treef11ecdcc5664d631701cd21664dfff9220647f27
parent193d15626915d32fcac2536c88fbe5c37074ad99
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