]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Input: mt - convert locking to guard notation
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 7 Nov 2024 07:15:32 +0000 (23:15 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 24 Dec 2024 06:53:57 +0000 (22:53 -0800)
commit4e3929ce6cc13b50e3975e8b243d2fcb17b63c64
treed3df8b254f6fc10e09c42357f471700d2cbf4efd
parent96173d61028736464b305da7bd6b9fb1b8e85d02
Input: mt - convert locking to guard notation

Use guard() notation instead of explicitly acquiring and releasing
spinlocks to simplify the code and ensure that all locks are released.

Link: https://lore.kernel.org/r/20241107071538.195340-6-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input-mt.c