Home
last modified time | relevance | path

Searched hist:cd3c00e7760905270541981f4c5d1e31f38c2e47 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/thermal/intel/int340x_thermal/
H A Dint340x_thermal_zone.cdiff cd3c00e7760905270541981f4c5d1e31f38c2e47 Tue Oct 03 15:26:35 CEST 2023 Rafael J. Wysocki <rafael.j.wysocki@intel.com> thermal: int340x: Use thermal_zone_for_each_trip()

Modify int340x_thermal_update_trips() to use thermal_zone_for_each_trip()
for walking trips instead of using the trips[] table passed to the
thermal zone registration function.

For this purpose, store active trip point indices in the priv fieids of
the corresponding thermal_trip structures.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>