diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-08-09 13:07:23 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-08-17 11:25:22 +0200 |
commit | ec23c1c462ded022ec0c3ed3fa92af6ca25b9599 (patch) | |
tree | 5e074d6afef246558938668b614042550df34694 /rust/macros/paste.rs | |
parent | 96b8b4365db44af0a94b91a805cd5beed45d24fa (diff) |
ACPI: thermal: Use trip point table to register thermal zones
Make the ACPI thermal driver use thermal_zone_device_register_with_trips()
to register its thermal zones.
For this purpose, make it create a trip point table that will be passed to
thermal_zone_device_register_with_trips() as an argument.
Also use the thermal_zone_update_trip_temp() helper introduced
previously to update temperatures of the passive and active trip
points after a trip points change notification from the platform
firmware.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'rust/macros/paste.rs')
0 files changed, 0 insertions, 0 deletions