diff options
author | Linus Walleij <[email protected]> | 2024-10-10 16:10:51 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2024-10-11 08:37:05 +0100 |
commit | 61574073e15cbaaab3fa1b2ad7df3ffe21e48509 (patch) | |
tree | 5969d06eb1bb736524ffb37aed2219cc904acba1 /tools/perf/scripts/python/gecko.py | |
parent | d19261ffd077609e5d348f1c12894997807a64a8 (diff) |
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 <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions