]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: cavium: octeon: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sat, 2 Jul 2016 21:37:00 +0000 (23:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jul 2016 22:59:51 +0000 (15:59 -0700)
commita400437fe66d6fb78ef420518bf7cca4cbce5f54
tree577b914bd4332b8a26def02e8ff7179a039559fd
parent7b6cdafd5f34d8a93939945fc5c7a0c2734253d3
net: ethernet: cavium: octeon: 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/cavium/octeon/octeon_mgmt.c