Re: [PATCH v3 2/6] thermal: core: Make struct thermal_zone_device definition internal

From: Lukasz Luba
Date: Thu Apr 04 2024 - 18:13:17 EST




On 4/2/24 19:57, Rafael J. Wysocki wrote:
From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>

Move the definitions of struct thermal_trip_desc and struct
thermal_zone_device to an internal header file in the thermal core,
as they don't need to be accessible to any code other than the thermal
core and so they don't need to be present in a global header.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
---

v2 -> v3: Minor changelog update

v1 -> v2: No changes

---
drivers/thermal/thermal_core.h | 85 +++++++++++++++++++++++++++++++++++++++
drivers/thermal/thermal_trace.h | 2
include/linux/thermal.h | 87 ----------------------------------------
3 files changed, 89 insertions(+), 85 deletions(-)


Reviewed-by: Lukasz Luba <lukasz.luba@xxxxxxx>