Re: [PATCH v5 4/8] iio: adc: at91_adc: convert to device_property_*() APIs
From: Uwe Kleine-König
Date: Mon Nov 23 2026 - 03:58:14 EST
Hello,
On Mon, Nov 23, 2026 at 09:00:57AM +0200, Abdelnasser Hussein wrote:
> With no OF APIs or struct device_node left in the file, drop the
> <linux/of.h> include and add <linux/mod_devicetable.h> for struct
> of_device_id.
That's wrong. <linux/mod_devicetable.h> is a dependency hog and should
not be used any more. You can rely on <linux/platform_device.h> to
provide of_device_id and just drop <linux/mod_devicetable.h>.
Best regards
Uwe
Attachment:
signature.asc
Description: PGP signature