net: ethernet: gianfar: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sun, 15 May 2016 23:30:09 +0000 (01:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 May 2016 01:51:40 +0000 (21:51 -0400)
commitcd5f9bb4be950079e911a64972dd7311f0bf8534
tree8574e160ad30b6bc0ecd04cad24d2ab627646e91
parent4c4a6b0e8fa24a628cbca3931745d482c66d303e
net: ethernet: gianfar: 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/freescale/gianfar_ethtool.c