Re: [PATCH 2/2] iio: adc: Add a driver for the Ingenic X1600 ADC

From: Uwe Kleine-König

Date: Wed Oct 28 2026 - 03:16:20 EST


Hello,

On Fri, Oct 23, 2026 at 10:42:09PM +0200, Olivier Louvignes wrote:
> +#include <linux/mod_devicetable.h>
> [...]
> +#include <linux/platform_device.h>

Please don't include <linux/mod_devicetable.h>,
<linux/platform_device.h> already provides of_device_id without all the
added build dependencies of <linux/mod_devicetable.h>. If you insist on
full iwyu, use <linux/device-id/of.h> instead.

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature