]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: r6040: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 25 Jun 2016 19:09:02 +0000 (21:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Jun 2016 13:12:35 +0000 (09:12 -0400)
commitb0d2c3baa4081b1c5329af6b2bc2352d47ae8e45
tree6eced93715b39baafc3cff98abf5bb291d830521
parent1864c2150896aa164c2d7c1c5f6f688eab264f63
net: ethernet: r6040: 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/rdc/r6040.c