From: Rafael J. Wysocki Date: Fri, 13 Oct 2023 15:14:05 +0000 (+0200) Subject: thermal: ACPI: Include the right header file X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c27d08f786aca71a94b06437d983a5518ec90ee8;p=linux.git thermal: ACPI: Include the right header file It is not necessary to include thermal_core.h into thermal_acpi.c, because none of the code in there depends on anything in the former, except for the linux/thermal.h, but it is better to include that one directly instead of including the entire thermal_core.h, so make that change. No functional impact. Fixes: 7a0e39748861 ("thermal: ACPI: Add ACPI trip point routines") Signed-off-by: Rafael J. Wysocki Acked-by: Daniel Lezcano --- diff --git a/drivers/thermal/thermal_acpi.c b/drivers/thermal/thermal_acpi.c index 0e5698818f69e..43eaf0f2ff49b 100644 --- a/drivers/thermal/thermal_acpi.c +++ b/drivers/thermal/thermal_acpi.c @@ -8,8 +8,7 @@ */ #include #include - -#include "thermal_core.h" +#include /* * Minimum temperature for full military grade is 218°K (-55°C) and