[PATCH v5 4/8] iio: adc: at91_adc: convert to device_property_*() APIs
Uwe Kleine-König
u.kleine-koenig at baylibre.com
Mon Nov 23 00:58:08 PST 2026
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20261123/e5082643/attachment-0001.sig>
More information about the linux-arm-kernel
mailing list