diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2023-01-23 19:40:33 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-01-24 21:13:42 +0100 |
commit | fee19c692160ae83f50e7b561076e4bd4cceb830 (patch) | |
tree | d5a6ab6b1620b7584e64d614bec278cea421535a /Documentation/driver-api/thermal | |
parent | thermal: ACPI: Add ACPI trip point routines (diff) | |
download | linux-fee19c692160ae83f50e7b561076e4bd4cceb830.tar.xz linux-fee19c692160ae83f50e7b561076e4bd4cceb830.zip |
thermal: intel: intel_pch: Use generic trip points
The thermal framework gives the possibility to register the trip
points along with the thermal zone. When that is done, no get_trip_*
callbacks are needed and they can be removed.
Convert the existing callbacks content logic into generic trip points
initialization code and register them along with the thermal zone.
In order to consolidate the code, use an ACPI trip library function
to populate a generic trip point.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Zhang Rui <rui.zhang@intel.com>
[ rjw: Subject and changelog edits, rebase ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'Documentation/driver-api/thermal')
0 files changed, 0 insertions, 0 deletions