]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: lantiq_etop: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 2 Jul 2016 22:05:05 +0000 (00:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jul 2016 22:59:51 +0000 (15:59 -0700)
commitd6c803d4648ef77cc56a5cccf8063fce1a71767e
tree83c017352e480ffa2d3dcbdecc1d8a951ae4a833
parentb1436c8e8d38cb2e2cd4df9e6eb2adabb13461d2
net: ethernet: lantiq_etop: 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/lantiq_etop.c