Re: [PATCH v2 6/6] iio: accel: mma8452: use guard() to release mutexes

Andy Shevchenko
2026-04-22T19:40:12Z

On Wed, Apr 22, 2026 at 10:26:43PM +0530, Sanjay Chitroda wrote:

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

This one seems okay, but since it's not the majority of the changes that can
go, I won't give any tag right now, let's see v3 (but wait at least a couple of
days to give chances to others to review v2 in case I missed something).

--
With Best Regards,
Andy Shevchenko