diff options
author | Philippe Reynes <tremyfr@gmail.com> | 2016-07-16 01:13:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-21 18:02:32 +0200 |
commit | de55b42d8d0d5853b0d2118ca8741d0dc232ea0b (patch) | |
tree | 4cf7af62b6238e10c3aa62b1da272ba2a59ebe7e /drivers/staging/gdm724x | |
parent | net: ethernet: octeon: use phydev from struct net_device (diff) | |
download | linux-de55b42d8d0d5853b0d2118ca8741d0dc232ea0b.tar.gz linux-de55b42d8d0d5853b0d2118ca8741d0dc232ea0b.tar.bz2 linux-de55b42d8d0d5853b0d2118ca8741d0dc232ea0b.zip |
net: ethernet: 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.
There was a check on CAP_NET_ADMIN in cvm_oct_set_settings, but this
check is already done in dev_ethtool, so no need to repeat it before
calling the generic function.
Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gdm724x')
0 files changed, 0 insertions, 0 deletions