Re: [PATCH v2 02/10] iio: light: opt3001: make headers conform to iwyu
From: Jonathan Cameron
Date: Sat May 16 2026 - 07:59:15 EST
On Tue, 12 May 2026 12:57:22 +0200
Joshua Crofts via B4 Relay <devnull+joshua.crofts1.gmail.com@xxxxxxxxxx> wrote:
> From: Joshua Crofts <joshua.crofts1@xxxxxxxxx>
>
> Remove kernel.h proxy header, device.h, irq.h, slab.h as they are
> unnecessary and add missing headers (array_size.h, dev_printk.h,
> errno.h, jiffies.h, wait.h) to enforce IWYU principle and reduce
> transitive dependencies. Also, replace bitops.h with bits.h as only
> the BIT() macro is used.
>
> Signed-off-by: Joshua Crofts <joshua.crofts1@xxxxxxxxx>
Sashiko had fun with unrelated review, but this patch itself is fine.
In the interests of reducing what is in flight (and because I'll take
the 'fix' in the previous via the slow path anyway)
Applied this one to the testing branch of iio.git.
Thanks,
Jonathan