]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ethoc: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Fri, 15 Jul 2016 07:59:12 +0000 (09:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jul 2016 23:41:35 +0000 (16:41 -0700)
commitfd3c5d11f1790d3b01814300c3a426864c10fdba
treed0fe697d863f56b2eb35c148cc0c2a598063cba4
parentef7dc7b150b75567581530a7e455355c90c5a5ca
net: ethernet: ethoc: 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>
Reviewed-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ethoc.c