]> git.karo-electronics.de Git - linux-beck.git/commit
net: ethernet: nb8800: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 18 Jun 2016 21:16:55 +0000 (23:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jun 2016 17:55:16 +0000 (10:55 -0700)
commit90789322c3bb9ece244f1fc6bf62667eae9814f2
treefedd8de2daeefcc7bdf638e7f04ef500f18c8867
parent46bb0bb094661ef6d251c1f63f6452123f6b273b
net: ethernet: nb8800: 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>
Acked-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aurora/nb8800.c