linux/drivers/thermal/intel
Rafael J. Wysocki 62dd17846d thermal: intel: Adjust ops handling during thermal zone registration
Because thermal zone operations are now stored directly in struct
thermal_zone_device, thermal zone creators can discard the operations
structure after the zone registration is complete, or it can be made
read-only.

Accordingly, make int340x_thermal_zone_add() use a local variable to
represent thermal zone operations, so it is freed automatically upon the
function exit, and make the other Intel thermal drivers use const zone
operations structures.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2024-02-23 18:24:48 +01:00
..
int340x_thermal thermal: intel: Adjust ops handling during thermal zone registration 2024-02-23 18:24:48 +01:00
intel_bxt_pmic_thermal.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
intel_hfi.c thermal: intel: hfi: Add syscore callbacks for system-wide PM 2024-01-12 15:44:42 +01:00
intel_hfi.h thermal: intel: hfi: Enable notification interrupt 2022-02-03 19:50:49 +01:00
intel_pch_thermal.c thermal: intel: Adjust ops handling during thermal zone registration 2024-02-23 18:24:48 +01:00
intel_powerclamp.c thermal: intel: powerclamp: Remove dead code for target mwait value 2024-01-22 11:59:22 +01:00
intel_quark_dts_thermal.c thermal: intel: Adjust ops handling during thermal zone registration 2024-02-23 18:24:48 +01:00
intel_soc_dts_iosf.c thermal: intel: Adjust ops handling during thermal zone registration 2024-02-23 18:24:48 +01:00
intel_soc_dts_iosf.h thermal: intel: Discard trip tables after zone registration 2024-02-23 18:24:47 +01:00
intel_soc_dts_thermal.c thermal: intel: intel_soc_dts_iosf: Rework critical trip setup 2023-08-11 18:44:45 +02:00
intel_tcc_cooling.c x86/cpu: Fix Gracemont uarch 2023-08-09 21:51:06 +02:00
intel_tcc.c thermal/intel: Fix intel_tcc_get_temp() to support negative CPU temperature 2024-02-12 18:41:38 +01:00
Kconfig thermal: ACPI: Move the ACPI thermal library to drivers/acpi/ 2023-11-21 15:04:08 +01:00
Makefile thermal: intel: menlow: Get rid of this driver 2023-04-27 19:24:13 +02:00
therm_throt.c thermal: intel: Avoid updating unsupported THERM_STATUS_CLEAR mask bits 2023-04-11 18:12:19 +02:00
thermal_interrupt.h thermal: intel: Protect clearing of thermal status bits 2022-11-23 20:09:06 +01:00
x86_pkg_temp_thermal.c thermal: intel: Adjust ops handling during thermal zone registration 2024-02-23 18:24:48 +01:00