aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-09-03 21:42:30 -0700
committerDmitry Torokhov <[email protected]>2024-10-03 09:10:36 -0700
commit21f6b6b47c347e16e5ad95720ae7ebb99a72113c (patch)
treeb666d8e440aaf203077adca98da85ca45357b9ba /tools/perf/scripts/python
parente5aee2d894fdff91c61d589c683c4a948e6d90b5 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions