aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-03 21:47:33 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 09:10:36 -0700
commit543429257d8884742127006eeb6a0ec543dd332f (patch)
treee38860a89036667437a580e9f823a602528f9e92 /tools/perf/scripts/python
parentInput: ideapad_slidebar - use guard notation when acquiring spinlock (diff)
downloadlinux-543429257d8884742127006eeb6a0ec543dd332f.tar.gz
linux-543429257d8884742127006eeb6a0ec543dd332f.zip
Input: ibm-panel - 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: Eddie James <eajames@linux.ibm.com> Reviewed-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/20240904044735.1047285-1-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