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

Use guard() notation instead of explicitly acquiring and releasing
mutex to simplify the code and ensure that it is released.

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