summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-08-25 08:16:06 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 18:52:33 +0300
commit932fc59b30eea5764aa4f1afc63521277258dd36 (patch)
tree8be8a924ba9bb53ac6bdd81192438b525e0533e6 /tools/perf/scripts/python
parent2e969e5b159d03026d524c334ddad5ddd4435fce (diff)
downloadlinux-932fc59b30eea5764aa4f1afc63521277258dd36.tar.xz
Input: applespi - use guard notation when acquiring spinlock
This 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. Link: https://lore.kernel.org/r/20240825051627.2848495-3-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