aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-08-24 22:16:06 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 08:52:33 -0700
commit932fc59b30eea5764aa4f1afc63521277258dd36 (patch)
tree8be8a924ba9bb53ac6bdd81192438b525e0533e6 /tools/perf/scripts/python
parentInput: adp5589-keys - use guard notation when acquiring mutex (diff)
downloadlinux-932fc59b30eea5764aa4f1afc63521277258dd36.tar.gz
linux-932fc59b30eea5764aa4f1afc63521277258dd36.zip
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