]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: arc: emac: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 2 Jul 2016 18:06:52 +0000 (20:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jul 2016 22:59:52 +0000 (15:59 -0700)
commit4519bd2cb636d1e549be34f0152561017825d6fd
treee8e7a4aae253b91a063d536a7b761128d60de63d
parent1e1997aff3ff3fe552a340f2fdfaaa9b16bc4df5
net: ethernet: arc: emac: 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/arc/emac_main.c