Input: locomokbd - 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. Link: https://lore.kernel.org/r/Zxr4AMJrzhZlHAlf@google.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>


Author Dmitry Torokhov Date Commit Parent dda8fdb0
+1 -4
1 changed file
+1 -4
1 changed file