diff options
author | Philippe Reynes <tremyfr@gmail.com> | 2016-07-17 02:10:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-18 09:22:02 +0300 |
commit | fe7c11b2cf41e2dfee30a46fcc027c0e84d0f3cb (patch) | |
tree | 7b1050245cef1c154d4518770eee1a2ce4db366e /drivers/net/ethernet/marvell | |
parent | ec87485dbecd95af06ca8b681681c433679db974 (diff) | |
download | linux-fe7c11b2cf41e2dfee30a46fcc027c0e84d0f3cb.tar.xz |
net: ethernet: adi: bfin_mac: 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 bfin_mac_ethtool_setsettings,
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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell')
0 files changed, 0 insertions, 0 deletions