Re: [PATCH v2 04/11] iio: adc: ad7791: drop platform data support

From: Jonathan Cameron

Date: Sat Dec 05 2026 - 19:26:40 EST


On Wed, 02 Dec 2026 17:05:36 +0000
Nuno Sá <nuno.sa@xxxxxxxxxx> wrote:

> There are no in-tree users of struct ad7791_platform_data. Without it,
> the driver already keeps the power-on reset configuration: buffered
> mode (on parts that have a buffer), bipolar mode and no burnout
> current.
>
> Drop the platform data header together with the code applying it.
> As a result, ad7791_setup() can no longer fail, so make it return void.
>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
> Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
> Signed-off-by: Nuno Sá <nuno.sa@xxxxxxxxxx>
Applied.