]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Input: ff-memless - convert locking to guard notation
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 7 Nov 2024 07:15:30 +0000 (23:15 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 24 Dec 2024 06:53:44 +0000 (22:53 -0800)
commitcec6b33a6786e3ecad4b1d4bb7843d122ffa1912
tree5ae410646cde6dbe3a743b2d0d4367ea4bf660c9
parent19c8d0ef1e93d96a2552893df7468a1ff1cd963f
Input: ff-memless - 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-4-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/ff-memless.c