summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-04 07:49:12 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 19:10:37 +0300
commit5bd3ade12109b276337ce85b950e09e09043e748 (patch)
treeaef0ef4d6a6c4243b65ee6b69ec1adfe14f944ea /tools/perf/scripts/python
parentc6849218541d29a7725fd375b7095cb02df4b422 (diff)
downloadlinux-5bd3ade12109b276337ce85b950e09e09043e748.tar.xz
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 <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/20240904044914.1049280-1-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions