Re: [PATCH v2 02/11] iio: adc: ad7887: drop platform data support
From: Jonathan Cameron
Date: Sat Dec 05 2026 - 19:24:23 EST
On Thu, 3 Dec 2026 13:56:01 +0200
Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:
> On Wed, Dec 02, 2026 at 05:05:34PM +0000, Nuno Sá wrote:
> > There are no in-tree users of struct ad7887_platform_data, and the
> > driver works fine without it. Its only knob, en_dual, selects dual
> > channel mode, where the AIN1/VREF pin is used as a second input.
> >
> > Drop the platform data header and default to single channel mode, which
> > is what the driver does when no platform data is given. The dual
> > channel code is kept so it can be enabled again should someone need it
> > and add a firmware property for it.
>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
>
1 and 2 applied. (I'll do these in clumps as there are various drivers
involved).
Thanks,
Jonathan