thermal: core: Make struct thermal_zone_device definition internal
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 2 Apr 2024 18:57:57 +0000 (20:57 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 8 Apr 2024 14:01:20 +0000 (16:01 +0200)
commitb1ae92dcfa8ed7d5044c525c3a868fcb4d0f9c0e
tree3ff05bb0b03bfda6ce3fe106244ab7767f1f2706
parentdaeeb032f42d066a49e07b7f6effc9f51b7a5479
thermal: core: Make struct thermal_zone_device definition internal

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@intel.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/thermal_core.h
drivers/thermal/thermal_trace.h
drivers/thermal/thermal_trace_ipa.h
include/linux/thermal.h