diff options
| author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-07-21 14:04:16 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-07-22 01:46:50 +0300 |
| commit | c8cab719cc64f8999503aff584a7bef7edb28e24 (patch) | |
| tree | 4f429f2ef771665567bdad70eb97764a7b059f0c /tools/perf/scripts/python/flamegraph.py | |
| parent | 7cceb599d15d6639b1298ae400c26d822148e86f (diff) | |
| download | linux-c8cab719cc64f8999503aff584a7bef7edb28e24.tar.xz | |
net: phylink: simplify ksettings_set() implementation
Simplify the ksettings_set() implementation to look more like phylib's
implementation; use a switch() for validating the autoneg setting, and
use the linkmode_modify() helper to set the autoneg bit in the
advertisement mask.
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
