linux-stable/drivers/thermal/intel/int340x_thermal
Rafael J. Wysocki cd3c00e776 thermal: int340x: Use thermal_zone_for_each_trip()
Modify int340x_thermal_update_trips() to use thermal_zone_for_each_trip()
for walking trips instead of using the trips[] table passed to the
thermal zone registration function.

For this purpose, store active trip point indices in the priv fieids of
the corresponding thermal_trip structures.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2023-10-05 13:31:15 +02:00
..
acpi_thermal_rel.c thermal: intel: int340x_thermal: New IOCTLs for Passive v2 table 2023-06-13 17:57:39 +02:00
acpi_thermal_rel.h thermal: intel: int340x_thermal: New IOCTLs for Passive v2 table 2023-06-13 17:57:39 +02:00
int340x_thermal_zone.c thermal: int340x: Use thermal_zone_for_each_trip() 2023-10-05 13:31:15 +02:00
int340x_thermal_zone.h thermal: intel: int340x: Use generic trip points table 2023-01-27 15:11:12 +01:00
int3400_thermal.c thermal: Use thermal_tripless_zone_device_register() 2023-09-05 21:42:18 +02:00
int3401_thermal.c thermal: intel: int340x: simplify the code with module_platform_driver() 2023-08-22 21:46:13 +02:00
int3402_thermal.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
int3403_thermal.c thermal: intel: int340x: Rework updating trip points 2023-01-27 15:11:12 +01:00
int3406_thermal.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Kconfig thermal: intel: int340x: Use generic trip points table 2023-01-27 15:11:12 +01:00
Makefile thermal: int340x: processor_thermal: Add workload type hint interface 2023-09-14 21:52:19 +02:00
processor_thermal_device_pci_legacy.c thermal: int340x: processor_thermal: Move mailbox code to common module 2023-09-14 21:52:19 +02:00
processor_thermal_device_pci.c thermal: int340x: processor_thermal: Ack all PCI interrupts 2023-09-21 20:30:03 +02:00
processor_thermal_device.c thermal: int340x: processor_thermal: Add workload type hint interface 2023-09-14 21:52:19 +02:00
processor_thermal_device.h thermal: int340x: Add ArrowLake-S PCI ID 2023-09-18 13:14:59 +02:00
processor_thermal_mbox.c thermal: int340x: processor_thermal: Add interrupt configuration function 2023-09-14 21:52:19 +02:00
processor_thermal_rapl.c powercap: intel_rapl: Fix a sparse warning in TPMI interface 2023-08-01 13:45:08 +02:00
processor_thermal_rfim.c thermal: intel: int340x: Add DLVR support for RFIM control 2023-04-18 15:24:40 +02:00
processor_thermal_wt_hint.c thermal: int340x: processor_thermal: Add workload type hint interface 2023-09-14 21:52:19 +02:00
processor_thermal_wt_req.c thermal: int340x: processor_thermal: Move mailbox code to common module 2023-09-14 21:52:19 +02:00