diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-01-25 15:55:24 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-01-27 15:11:12 +0100 |
commit | f4118dbe61bb30038ca7f3ecaf333cabc9c54141 (patch) | |
tree | e59b5988e100ce79313889a6dda74d1c3b9367ba /fs/reiserfs | |
parent | thermal: intel: int340x: Use zone lock for synchronization (diff) | |
download | linux-f4118dbe61bb30038ca7f3ecaf333cabc9c54141.tar.xz linux-f4118dbe61bb30038ca7f3ecaf333cabc9c54141.zip |
thermal: intel: int340x: Use generic trip points table
Modify int340x_thermal_zone_add() to register the thermal zone along
with a trip points table, which allows the trip-related zone callbacks
to be dropped, because they are not needed any more.
In order to consolidate the code, use ACPI trip library functions to
populate generic trip points in int340x_thermal_read_trips() and to
update them in int340x_thermal_update_trips().
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Co-developed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'fs/reiserfs')
0 files changed, 0 insertions, 0 deletions