[PATCH v2 1/1] PCI: stm32: Don't use "proxy" headers
Bjorn Helgaas
helgaas at kernel.org
Mon Nov 17 12:43:48 PST 2025
On Fri, Nov 14, 2025 at 07:52:01PM +0100, Andy Shevchenko wrote:
> Update header inclusions to follow IWYU (Include What You Use)
> principle.
>
> In particular, replace of_gpio.h, which is subject to remove by the GPIOLIB
> subsystem, with the respective headers that are being used by the driver.
Thanks, Andy! It looks like a lot of work to figure this out by hand.
Is there a tool to figure this out? Maybe something I could run when
reviewing patches?
IWYU seems like a nice principle but I couldn't find any mention in
Documentation/. Should it be covered there somehow?
Bjorn
More information about the linux-arm-kernel
mailing list