Re: [PATCH v5 02/18] iio: magnetometer: ak8975: update headers per IWYU principle
From: Jonathan Cameron
Date: Wed May 06 2026 - 12:37:38 EST
On Tue, 5 May 2026 19:38:55 -0500
Maxwell Doose <m32285159@xxxxxxxxx> wrote:
> On Tue, May 5, 2026 at 6:58 AM Joshua Crofts via B4 Relay
> <devnull+joshua.crofts1.gmail.com@xxxxxxxxxx> wrote:
> >
> > From: Joshua Crofts <joshua.crofts1@xxxxxxxxx>
> >
> > Remove kernel.h proxy header and unused headers (slab.h, iio/sysfs.h,
> > iio/trigger.h). Add missing headers to ensure atomicity (array_size.h,
> > dev_printk.h, asm/byteorder.h, irqreturn.h, minmax.h, property.h,
> > types.h, wait.h).
> >
> > Audited using the include-what-you-use tool.
> >
> > Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> > Signed-off-by: Joshua Crofts <joshua.crofts1@xxxxxxxxx>
> > ---
> > drivers/iio/magnetometer/ak8975.c | 13 +++++++++----
> > 1 file changed, 9 insertions(+), 4 deletions(-)
> >
> [snip]
> >
>
> LGTM.
>
> Reviewed-by: Maxwell Doose <m32285159@xxxxxxxxx>
Applied to the testing branch of iio.git.
If you do a v6 base either base on that (and state it) or
just drop the ones I've applied and don't state a base.
Thanks,
Jonathan
>
> best regards,
> max