]> 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)
commit6372e00f41376b6f0bd6b060701d362ba8e9aece
treed0fe697d863f56b2eb35c148cc0c2a598063cba4
parent8688e4945822c4ff3bb7bf6a9c625fa671c55295
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