thermal: intel: processor_thermal_device_pci: Use generic trip point
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 18 Jan 2023 18:16:20 +0000 (19:16 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 26 Jan 2023 15:17:28 +0000 (16:17 +0100)
commite90eb1df708c07240e323a4dbec8313736d1b500
tree78fa9a44dac4673ff74b93f1efb46e813a0963ad
parent5c36cf27846a364f830e5ea86b411e05f7c8bd2b
thermal: intel: processor_thermal_device_pci: Use generic trip point

Make proc_thermal_pci_probe() register the TCPU_PCI thermal zone along
with the trip point used by it and drop the zone callbacks related to
this trip point that are not needed any more.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c