summaryrefslogtreecommitdiff
path: root/drivers/input/misc/ibm-panel.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-03 21:42:30 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 09:10:36 -0700
commit21f6b6b47c347e16e5ad95720ae7ebb99a72113c (patch)
treeb666d8e440aaf203077adca98da85ca45357b9ba /drivers/input/misc/ibm-panel.c
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 <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 'drivers/input/misc/ibm-panel.c')
0 files changed, 0 insertions, 0 deletions