]> git.baikalelectronics.ru Git - kernel.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)
commitbff9f4c6770cfd171862c9e67bb44d5bbcd57e59
treefedd8de2daeefcc7bdf638e7f04ef500f18c8867
parent244b1252dae5dfea3e71400454eb52564119d8ae
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