Re: [PATCH] iio: resolver: ad2s1210: refactor trigger handler
From: Stepan Ionichev
Date: Sat May 16 2026 - 11:24:55 EST
On Sat, May 16, 2026, David Lechner wrote:
> Refactor the trigger handler to avoid use of goto in a guard() scope.
> Ideally, we should not be mixing goto and automatic cleanup.
>
> iio_trigger_notify_done() was not part of the critical section anyway,
> so is not moved to the new function.
Reviewed-by: Stepan Ionichev <sozdayvek@xxxxxxxxx>