]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4b186cf0db6770d2eb0a513b8123964113f6adb
tree0b31fe5242eeebc2ec14f9502e81fc9e861c8df6
parent4a57a91182cef6f0a5251ae62d4f608bea3578f0
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