Re: [PATCH v3 1/2] iio: frequency: ad9832: remove kernel.h proxy header.

From: Joshua Crofts

Date: Tue Apr 14 2026 - 06:13:36 EST


On Tue, 14 Apr 2026 at 11:38, Andy Shevchenko
<andriy.shevchenko@xxxxxxxxx> wrote:
> > #include <asm/div64.h>
>
> While at it, you can move asm/* to go after generic linux/* ones as asm is more
> custom than linux.

Sure.

> > #include <linux/device.h>
>
> What about this one? Is it used?
>
> Many drivers just need dev_printk.h + device/devres.h. Some indeed require
> device.h. Please, double check.

I compiled it with the include combination above and it passed, but looking into
the generated .i file I can see a full struct device definition, so I
assume there's
some sort of transitive include behavior (spi.h or something)

--
Kind regards

CJD