Re: [PATCH v2 0/3]: fix unnecessary includes and add missing ones across multiple drivers

Jonathan Cameron
2026-04-27T10:03:53Z

On Sun, 26 Apr 2026 18:17:59 -0300
Caio Morais <caiomorais@usp.br> wrote:

> From: Caio Morais <caiomorais@usp.br>
>
> This series removes unnecessary includes and adds missing ones as reported
> by the include-what-you-use (IWYU) tool across different IIO drivers.

One series per driver. Having a shared one for the core is fine but definitely
don't mix core and drivers. Tend to have entirely different sets of
reviewers!

J
>
> Caio Morais (3):
> iio: adc: xilinx-xadc: remove unnecessary includes and add missing
> ones
> iio: buffer: industrialio-triggered-buffer: fix includes with IWYU
> iio: common: st_sensors: fix includes with IWYU
>
> drivers/iio/adc/xilinx-xadc-events.c | 6 +++++-
> drivers/iio/buffer/industrialio-triggered-buffer.c | 6 ++++--
> drivers/iio/common/st_sensors/st_sensors_i2c.c | 7 +++++--
> drivers/iio/common/st_sensors/st_sensors_spi.c | 9 +++++++--
> 4 files changed, 21 insertions(+), 7 deletions(-)
>