Re: [PATCH 2/2] hwmon: (chipcap2) Switch to guard() for mutext handling

From: Guenter Roeck
Date: Fri Nov 22 2024 - 12:48:53 EST


On Thu, Nov 21, 2024 at 10:44:56PM +0100, Javier Carrasco wrote:
> Switch to guard() for mutex handling to simplify the code, getting rid
> of the 'ret = x, break; return ret;' construct and returning the result
> of the operation instead.
>
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx>

Applied.

Guenter