diff options
author | Daniel Lezcano <[email protected]> | 2023-01-23 19:40:33 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-01-24 21:13:42 +0100 |
commit | fee19c692160ae83f50e7b561076e4bd4cceb830 (patch) | |
tree | d5a6ab6b1620b7584e64d614bec278cea421535a /drivers/usb/cdns3/cdns3-imx.c | |
parent | 7a0e39748861272e6f4b088d5a7e7ffa53c4d5eb (diff) |
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 <[email protected]>
Reviewed-by: Zhang Rui <[email protected]>
[ rjw: Subject and changelog edits, rebase ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Tested-by: Srinivas Pandruvada <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions