]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: dwc_eth_qos: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 25 Jun 2016 21:05:16 +0000 (23:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Jun 2016 13:12:36 +0000 (09:12 -0400)
commit85d9964d92b15729ab7be65b8d8424cfb04f61e1
tree562d71f73769ba05be3d2fb93eb5e5d2bde27f37
parent3fc5ee41a0e649260f0a19eae8cd96249383a2b7
net: ethernet: dwc_eth_qos: 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/synopsys/dwc_eth_qos.c