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: 7a0e397488 ("thermal: ACPI: Add ACPI trip point routines")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
This commit is contained in:
Rafael J. Wysocki 2023-10-13 17:14:05 +02:00
parent cf3986f8c0
commit c27d08f786

View File

@ -8,8 +8,7 @@
*/
#include <linux/acpi.h>
#include <linux/units.h>
#include "thermal_core.h"
#include <linux/thermal.h>
/*
* Minimum temperature for full military grade is 218°K (-55°C) and