summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-04 07:42:30 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 19:10:36 +0300
commit21f6b6b47c347e16e5ad95720ae7ebb99a72113c (patch)
treeb666d8e440aaf203077adca98da85ca45357b9ba /tools/perf/scripts/python
parente5aee2d894fdff91c61d589c683c4a948e6d90b5 (diff)
downloadlinux-21f6b6b47c347e16e5ad95720ae7ebb99a72113c.tar.xz
Input: ideapad_slidebar - 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/20240904044244.1042174-11-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