]> 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)
commitd60ead8c647851226dbf2a67f5eb49499b594a9d
treeef31fbbd76a411f195c5065a226c41b18ef7b2fb
parentb7226c80a3c110ab7aed26276b5a2e1c30d42567
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