Re: [PATCH v2 2/3] thermal/drivers/apple: Add T7000 (A8) on-die temperature sensor driver
From: Uwe Kleine-König
Date: Fri Dec 04 2026 - 03:37:07 EST
Hello,
just after replying to (implicit) v1, I found this v2. So I'm repeating
my feedback here to make it easy not to miss it.
On Fri, Dec 04, 2026 at 08:43:27AM +0100, Jeroen Trappers wrote:
> +#include <linux/mod_devicetable.h>
> +#include <linux/module.h>
> +#include <linux/of.h>
> +#include <linux/platform_device.h>
Please drop <linux/mod_devicetable.h>. It's not needed here as both
<linux/of.h> and <linux/platform_device.h> already provide of_device_id
in a more effective way (that is without introducing many unneeded
*_device_id and thus useless build dependencies).
I plan to drop <linux/mod_devicetable.h> soon.
Best regards
Uwe
Attachment:
signature.asc
Description: PGP signature