Re: [PATCH v4 5/5] iio: imu: inv_icm42600: use guard() to release mutexes

From: David Lechner

Date: Tue Sep 09 2025 - 10:04:41 EST


On 9/9/25 2:11 AM, Sean Nyekjaer wrote:
> Replace explicit mutex_lock() and mutex_unlock() with the guard() macro
> for cleaner and safer mutex handling.
>
> Signed-off-by: Sean Nyekjaer <sean@xxxxxxxxxx>
> ---

Reviewed-by: David Lechner <dlechner@xxxxxxxxxxxx>

(I wouldn't mind seeing the "obvious" reference counting comments
removed either).