]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: xilinx: axienet: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Thu, 14 Jul 2016 17:45:58 +0000 (19:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jul 2016 23:41:34 +0000 (16:41 -0700)
commit06fbd4ae9f2afe96af8f79e2f9177c7a3bb7921a
treec3fa499314e93f1891101f1fe6ffbb31f8b4c3b3
parent0fd7649d4fbaf01d3f08085f51950b4a356c0f0b
net: ethernet: xilinx: axienet: 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/xilinx/xilinx_axienet_main.c