OSDN Git Service

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)
commitcffce3615dd582ac30a2a0d81d9a46aaa8f4e0bb
tree6eced93715b39baafc3cff98abf5bb291d830521
parent542808f5f68810b579c3b9a44d88dbdbe5e68ac2
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