aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-04 13:59:18 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 09:10:37 -0700
commit0e7b4bc31d171856fcb753f653e0f00855763bf3 (patch)
treeee8aa04cd45afad7dca3b0d4c9e79596454c4cb4 /drivers/input/misc
parentInput: max8997_haptic - use guard notation when acquiring mutex (diff)
downloadlinux-0e7b4bc31d171856fcb753f653e0f00855763bf3.tar.gz
linux-0e7b4bc31d171856fcb753f653e0f00855763bf3.zip
Input: pegasus_notetaker - use guard notation when acquiring mutex
Using guard notation makes the code more compact and error handling more robust by ensuring that mutexes 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/ZtjKJsArLu3byTU6@google.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc')
0 files changed, 0 insertions, 0 deletions