Re: [PATCH] iio: accel: stk8ba50: Update includes to match IWYU

From: Jonathan Cameron

Date: Wed Jun 03 2026 - 06:45:25 EST


On Wed, 3 Jun 2026 09:47:06 +0200
Waqar Hameed <waqar.hameed@xxxxxxxx> wrote:

> On Wed, Jun 03, 2026 at 08:52 +0300 Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:
>
> [...]
>
> >> +#include <linux/iio/types.h>
> >
> > Not sure if we need this one to be explicitly added when iio.h is included.
>
> I would vote for removing this, to be consistent with most other drivers.

I've merged changes recently where some included this and some didn't.
I agree that we can assume iio.h will always include it so probably better
to drop it from these sorts of change. I don't want to see lots of patches dropping
from existing drivers though as that's just too much churn.

Jonathan