diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2024-10-10 16:10:51 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-10-11 08:37:05 +0100 |
commit | 61574073e15cbaaab3fa1b2ad7df3ffe21e48509 (patch) | |
tree | 5969d06eb1bb736524ffb37aed2219cc904acba1 /tools/perf/scripts/python/task-analyzer.py | |
parent | d19261ffd077609e5d348f1c12894997807a64a8 (diff) | |
download | linux-61574073e15cbaaab3fa1b2ad7df3ffe21e48509.tar.gz linux-61574073e15cbaaab3fa1b2ad7df3ffe21e48509.tar.bz2 linux-61574073e15cbaaab3fa1b2ad7df3ffe21e48509.zip |
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