net: ethernet: marvell: pxa168_eth: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sun, 17 Jul 2016 21:30:46 +0000 (23:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Jul 2016 06:22:02 +0000 (23:22 -0700)
commit2186f6eec2739ecd3944f9278e59edf0474f207c
treedcef0df7481b839c2a1cdcf55638a0e00eb4817a
parent7d32184513baca1b66383825d57e24be62af40d1
net: ethernet: marvell: pxa168_eth: 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/marvell/pxa168_eth.c