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

Harshit Mogalapalli
2026-02-05T16:39:55Z

Hi Andy,

On 05/02/26 21:56, Andy Shevchenko wrote:
> 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.
>

Yes I do, thank you very much for the guidance on this :)

Thanks,
Harshit
>> ---
>