net: ethernet: dnet: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Thu, 23 Jun 2016 21:48:59 +0000 (23:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Jun 2016 09:10:26 +0000 (05:10 -0400)
commit1ba44a1f4d8160387bdaab0f414bdbcc74f2d59b
tree0b31fe5242eeebc2ec14f9502e81fc9e861c8df6
parent958974fdaf7fcd26fcfcf409e3e61fdc3ab4020c
net: ethernet: dnet: 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/dnet.c