Re: [PATCH 2/3] thermal/drivers/apple: Add T7000 (A8) on-die temperature sensor driver

From: Uwe Kleine-König

Date: Fri Dec 04 2026 - 03:24:34 EST


On Thu, Dec 03, 2026 at 04:55:59PM +0100, Jeroen Trappers wrote:
> +#include <linux/mod_devicetable.h>
> [...]
> +#include <linux/platform_device.h>

Please don't include <linux/mod_devicetable.h>. That pulls in many
definitions your driver doesn't need and thus introduces many unneeded
dependencies.

Please drop <linux/mod_devicetable.h>, <linux/platform_device.h> already
gives you of_device_id, so there is no need for a replacement.

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature