Re: [PATCH 4/9] iio: gyro: adis16130: apply iwyu principle

From: Andy Shevchenko

Date: Wed Nov 25 2026 - 16:57:28 EST


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.

> +#include <linux/unaligned.h>
> +#include <linux/types.h>
> #include <linux/iio/iio.h>
>
> -#include <linux/unaligned.h>

--
With Best Regards,
Andy Shevchenko