]> 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)
commit4ef5173668ffd6bd9905cf3439ae5571715a0f19
treedcef0df7481b839c2a1cdcf55638a0e00eb4817a
parentb7364497495447a6ac9b4c2fb02bb2f28c19ce33
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