Re: [PATCH v3 1/5] iio: adc: ad7380: do not use iio_device_claim_direct_scoped anymore
From: David Lechner
Date: Tue Jan 07 2025 - 11:48:31 EST
On 1/7/25 2:48 AM, Julien Stephan wrote:
> Conditionnal scoped handlers are turning out to be a real pain:
> readability issues, compiler and linker handling issues among others so
> rollback and remove the scoped version of iio_dvice_claim_direct_mode.
>
> To impove code readability factorize code to set oversampling ratio.
>
> Signed-off-by: Julien Stephan <jstephan@xxxxxxxxxxxx>
> ---
FYI, might want to hold off on this until we see how [1] ends up.
[1]: https://lore.kernel.org/linux-iio/20250105172613.1204781-1-jic23@xxxxxxxxxx/