]> 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)
commite0f3e50ef9f2f80e570a2beb9c82445f554e6ff3
tree6eced93715b39baafc3cff98abf5bb291d830521
parent7bba9ad28105336eb0d29aa7e7c579227c244792
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