diff options
| author | Heiner Kallweit <[email protected]> | 2024-02-07 08:16:40 +0100 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-02-09 12:53:44 -0800 |
| commit | 4c49b6824a607af4760fac4f5c0b9954ab902cef (patch) | |
| tree | c55ef251875475317ca21277395ac6f0eb7591f2 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
| parent | 876e32473d1dd61cb58ece9965c3b3ea3ab307ab (diff) | |
r8169: improve checking for valid LED modes
After 3a2746320403 ("leds: trigger: netdev: Display only supported link
speed attribute") the check for valid link modes can be simplified.
In addition factor it out, so that it can be re-used by the upcoming
LED support for RTL8125.
Signed-off-by: Heiner Kallweit <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions