]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Input: adp5588-keys - use guard notation when acquiring mutexes
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 26 Aug 2024 17:22:01 +0000 (18:22 +0100)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 29 Aug 2024 01:49:05 +0000 (18:49 -0700)
commitf0da267996ce1ec981a99cb5820c36a3a8d90c04
tree9c81a87b8e661864335f25778bd5494e06512eb1
parente2e75e4202d70086c1061b692da0c979d89f7f9c
Input: adp5588-keys - use guard notation when acquiring mutexes

This makes the code more compact and error handling more robust.

Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Link: https://lore.kernel.org/r/20240826-adp5588_gpio_support-v11-1-3e5ac2bd31b7@analog.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/adp5588-keys.c