Hi Everyone,
This is the second iteration of the $subject patch series and its original
description below is still applicable
On Tuesday, July 18, 2023 8:01:20 PM CEST Rafael J. Wysocki wrote:
This patch series makes the ACPI thermal driver register thermal zones
with the help of thermal_zone_device_register_with_trips(), so it
doesn't need to use the thermal zone callbacks related to trip points
any more (and they are dropped in the last patch).
The approach presented here is quite radically different from the
previous attempts, as it doesn't really rearrange the driver's
internal data structures, but adds the trip table support on top of
them. For this purpose, it uses an additional field in struct thermal_trip
introduced in the first patch.
This update is mostly related to the observation that the critical and hot trip
points never change after initialization, so they don't really need to be
connected back to the corresponding thermal_trip structures. It also fixes
an error code path memory leak in patch [5/8].