Re: [PATCH 4/6] iio: adc: ad7791: drop platform data support
From: Andy Shevchenko
Date: Wed Nov 25 2026 - 05:40:41 EST
On Wed, Nov 25, 2026 at 10:19:20AM +0000, Nuno Sá 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.
I would move 'a' to the next line.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
--
With Best Regards,
Andy Shevchenko