Input: wacom_w8001 - use "guard" notation when acquiring mutex
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 12 Jun 2024 05:31:42 +0000 (22:31 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 28 Jun 2024 22:06:29 +0000 (15:06 -0700)
commit68bf7a8cc5f3ec6630d6a8b2675288694b1a5f63
tree06673c419b21de3fc4c70ec5d5537d5b8d39cec1
parent19a3e1600671b54b2a11203479ed7358d5a8d8d8
Input: wacom_w8001 - use "guard" notation when acquiring mutex

Switch the driver to use guard notation when acquiring mutex to
have it released automatically.

Link: https://lore.kernel.org/r/Zmkyvkr9AFyywy1V@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/wacom_w8001.c