Re: [PATCH v3 1/5] iio: adc: ad7380: do not use iio_device_claim_direct_scoped anymore
From: Jonathan Cameron
Date: Sun Jan 12 2025 - 06:30:53 EST
On Tue, 7 Jan 2025 10:48:18 -0600
David Lechner <dlechner@xxxxxxxxxxxx> wrote:
> 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/
I'm fine with not blocking on that series. This will just end up as one
more to convert if we go that way alongside a lot of others!
Jonathan