]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c28a63da2dd8a6d06918dd5c6233e2051be2d8d
treedcef0df7481b839c2a1cdcf55638a0e00eb4817a
parent0615c67ff60f0f0ebade94ad64acd4eaa94a5939
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