]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit8a79813c140122b9448bb8d24ec58dff3b15ea31
tree562d71f73769ba05be3d2fb93eb5e5d2bde27f37
parentce554d32eb16c459221a06ee8c93f39d7d648ef4
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