Re: [PATCH 2/3] iio: accel: adxl313_core: use guard() to release mutex

From: Andy Shevchenko

Date: Thu Apr 16 2026 - 04:26:21 EST


On Thu, Apr 16, 2026 at 10:46:30AM +0530, Sanjay Chitroda wrote:

> Replace explicit mutex_lock() and mutex_unlock() with the guard() macro
> for cleaner and safer mutex handling.

You missed two things:
- cleanup.h
- the patch is already in tree

Please, always use the tip of the respective subsystem treer
(it's usually iio/testing for IIO).

--
With Best Regards,
Andy Shevchenko