Re: [PATCH 09/24] gpio: Add ZTE ZX279128S GPIO driver
From: Uwe Kleine-König
Date: Mon Oct 12 2026 - 07:00:30 EST
Hello,
On Sat, Oct 10, 2026 at 01:59:47PM +0100, Navid Ghahremani wrote:
> +#include <linux/mod_devicetable.h>
> [...]
> +#include <linux/platform_device.h>
Please don't use <linux/mod_devicetable.h>. That header creates a lot of
useless build dependencies. Either rely on <linux/platform_device.h> to
provide of_device_id (preferred), or use <linux/device-id/of.h> if you
want to go full iwyu.
Best regards
Uwe
Attachment:
signature.asc
Description: PGP signature