Re: [PATCH v5 next 5/7] iio: sca3000: use guard(mutex) to simplify return paths

Andy Shevchenko
2026-02-05T16:26:11Z

On Thu, Feb 05, 2026 at 05:12:11AM -0800, Harshit Mogalapalli wrote:
> Switch sca3000_stop_all_interrupts() to use guard(mutex) to simplify the
> error paths without needing a goto.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>

> ---
> v4->v5: rebase it accordingly as we didn't change label "error_ret" in
> the previous patch.

I hope you see the difference and how the whole series gets better.

> ---

--
With Best Regards,
Andy Shevchenko