]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: fec: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Mon, 9 May 2016 22:19:43 +0000 (00:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 May 2016 19:06:20 +0000 (15:06 -0400)
commit3936c02c18873c9aeac64410702aff14198b3e9f
treeef31fbbd76a411f195c5065a226c41b18ef7b2fb
parentb2b57fb50fea5989b5310ac3478c8d4832e95fbe
net: ethernet: fec: 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/fec_main.c