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)
commit6e3848404d418f4200790c3bdbab05e58de7976b
treec3fa499314e93f1891101f1fe6ffbb31f8b4c3b3
parentb1b7dcffed3281908322120f6f7abc879022dc68
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