Re: [PATCH 2/2] i2c: add driver for GPIO buses sharing one SCL line

From: Uwe Kleine-König

Date: Mon Oct 19 2026 - 03:02:22 EST


On Sun, Oct 18, 2026 at 12:43:15PM -0700, Ross Cawston wrote:
> +#include <linux/mod_devicetable.h>
> [...]
> +#include <linux/platform_device.h>

<linux/platform_device.h> already provides of_device_id, so there is no
need to also #include <linux/mod_devicetable.h> which also pulls in a
lot of unneeded dependencies.

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature