aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-09-03 21:49:12 -0700
committerDmitry Torokhov <[email protected]>2024-10-03 09:10:37 -0700
commit5bd3ade12109b276337ce85b950e09e09043e748 (patch)
treeaef0ef4d6a6c4243b65ee6b69ec1adfe14f944ea /tools/perf/scripts/python/gecko.py
parentc6849218541d29a7725fd375b7095cb02df4b422 (diff)
Input: pwm-beeper - use guard notation when acquiring spinlock
Using guard notation makes the code more compact and error handling more robust by ensuring that locks are released in all code paths when control leaves critical section. Reviewed-by: Javier Carrasco <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions