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

From: Sanjay Chitroda

Date: Thu Apr 16 2026 - 14:22:56 EST




On 16 April 2026 1:52:09 pm IST, Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:
>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).
>

Thank you for the input.

Understood, I will always use iio/testing for further development.

I have dropped this change.