Re: [PATCH 7/8] Input: usbtouchscreen - use guard notation when acquiring mutexes

From: Greg KH
Date: Fri Jul 12 2024 - 03:28:47 EST


On Thu, Jul 11, 2024 at 10:18:49PM -0700, Dmitry Torokhov wrote:
> This makes the code more compact and error handling more robust.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> ---
> drivers/input/touchscreen/usbtouchscreen.c | 65 +++++++++++-----------
> 1 file changed, 33 insertions(+), 32 deletions(-)

Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>