Re: [PATCH 4/9] iio: gyro: adis16130: apply iwyu principle
From: Jonathan Cameron
Date: Wed Nov 25 2026 - 20:32:16 EST
On Wed, 25 Nov 2026 23:57:13 +0200
Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:
> On Wed, Nov 25, 2026 at 08:24:05PM +0100, Joshua Crofts wrote:
> > Remove the catch all kernel.h header and add/remove the remaining
> > headers in accordance with the IWYU principle.
>
> ...
>
> > -#include <linux/kernel.h>
> > #include <linux/spi/spi.h>
> > -#include <linux/module.h>
>
> > -
>
> Leave this blank line before iio/ group as it originally was.
Tweaked and also removed the extra line we end up with at the end
as a result of moving unaligned.h
>
> > +#include <linux/unaligned.h>
> > +#include <linux/types.h>
> > #include <linux/iio/iio.h>
> >
> > -#include <linux/unaligned.h>
>