diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2024-10-10 17:10:51 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-10-11 10:37:05 +0300 |
commit | 61574073e15cbaaab3fa1b2ad7df3ffe21e48509 (patch) | |
tree | 5969d06eb1bb736524ffb37aed2219cc904acba1 /tools/perf/scripts/python/task-analyzer.py | |
parent | d19261ffd077609e5d348f1c12894997807a64a8 (diff) | |
download | linux-61574073e15cbaaab3fa1b2ad7df3ffe21e48509.tar.xz |
leds: bcm63138: Use scopes and guards
Use scoped helpers and guards to handle DT node iterations
and spinlocks. This cuts some lines of code and eliminates
common mistakes (such as the missing of_node_put()).
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20241010-bcm63138-leds-v4-2-cdb80780a555@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions