net: ethernet: macb: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Tue, 21 Jun 2016 22:32:36 +0000 (00:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Jun 2016 15:57:33 +0000 (11:57 -0400)
commit176275a261fbffa4e1c009b97265fabac428c891
treeb81c8d6afd4a99a6a7ed16edf272615d8c7bd776
parent0a91281e5190aa6bc42fa86ba88758add20087fa
net: ethernet: macb: 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/cadence/macb.c