Commit 21d8dd0
committed
Input: use guard notation in input core
Switch input core to use "guard" notation when acquiring spinlocks and
mutexes to simplify the code and ensure that locks are automatically
released when control leaves critical section.
Link: https://lore.kernel.org/r/20241107071538.195340-9-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>1 parent f951e94 commit 21d8dd0
1 file changed
Lines changed: 131 additions & 208 deletions
0 commit comments