Re: [PATCH v2 02/11] iio: adc: ad7887: drop platform data support
From: Andy Shevchenko
Date: Thu Dec 03 2026 - 06:56:16 EST
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>
--
With Best Regards,
Andy Shevchenko