summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-08-25 08:16:15 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 18:58:56 +0300
commit405b1762aef34e4bc8f39ce20ad27e2d336bbe27 (patch)
treec1349f6b42a6108a75000fb7877179de2d830354 /tools/perf/scripts/python
parente9495ead523f5d44d149c10ce30eba8e6f375ce5 (diff)
downloadlinux-405b1762aef34e4bc8f39ce20ad27e2d336bbe27.tar.xz
Input: matrix_keypad - 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-12-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