Re: [PATCH v2 00/13] iio: remove unused struct fields across drivers

From: Andy Shevchenko

Date: Tue Feb 03 2026 - 04:48:21 EST


On Mon, Feb 02, 2026 at 01:25:50PM +0200, Antoniu Miclaus wrote:
> This series removes unused struct fields found across various IIO
> drivers. These fields were either left over from previous refactoring,
> or were added during development but never actually used.
>
> Removing them reduces memory footprint slightly and improves code
> clarity by eliminating dead struct members that could confuse future
> readers.
>
> Each patch is independent and can be merged separately as they touch
> different drivers with no dependencies between them.

Assuming it applies cleanly and compiles,
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
and I see in some cases it gains space.

--
With Best Regards,
Andy Shevchenko