net: ethernet: fs-enet: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Mon, 16 May 2016 14:52:37 +0000 (16:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 May 2016 02:16:32 +0000 (22:16 -0400)
commit73d9011c1f50ad3f82886d2187799acba1feb236
tree17503a406b690a81234a00c561914030e9aab7d9
parentc1c511a275c9c0a14836c2071d37946df3862c25
net: ethernet: fs-enet: 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/fs_enet/fs_enet-main.c