]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: fec-mpc52xx: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Mon, 16 May 2016 22:32:34 +0000 (00:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 May 2016 02:20:06 +0000 (22:20 -0400)
commita1dd09ac7f19efd62ee08edf11ea2ce20599f3a5
tree0368a9163c02c5dc0ed69077881cc52ac6b73e8b
parenta9dd365a53dab3744fc336b385a9744dbfa74e51
net: ethernet: fec-mpc52xx: 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_mpc52xx.c