summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-07-21 14:04:16 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-22 01:46:50 +0300
commitc8cab719cc64f8999503aff584a7bef7edb28e24 (patch)
tree4f429f2ef771665567bdad70eb97764a7b059f0c /tools/perf/scripts/python/flamegraph.py
parent7cceb599d15d6639b1298ae400c26d822148e86f (diff)
downloadlinux-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