WSL2-Linux-Kernel/drivers/thermal/ti-soc-thermal
Rafael J. Wysocki 8289d810ea thermal: core: Rework .get_trend() thermal zone callback
Passing a struct thermal_trip pointer instead of a trip index to the
.get_trend() thermal zone callback allows one of its 2 implementations,
the thermal_get_trend() function in the ACPI thermal driver, to be
simplified quite a bit, and the other implementation of it in the
ti-soc-thermal driver does not even use the relevant callback argument.

For this reason, change the .get_trend() thermal zone callback
definition and adjust the related code accordingly.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2023-08-29 20:48:35 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
TODO
dra752-bandgap.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
dra752-thermal-data.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
omap3-thermal-data.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
omap4-thermal-data.c thermal: ti-soc-thermal: Use non-inverted define for omap4 2021-02-15 21:19:32 +01:00
omap4xxx-bandgap.h thermal: ti-soc-thermal: Use non-inverted define for omap4 2021-02-15 21:19:32 +01:00
omap5-thermal-data.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
omap5xxx-bandgap.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
ti-bandgap.c thermal/drivers/ti-soc-thermal: Use helper function IS_ERR_OR_NULL() 2023-08-17 09:24:54 +02:00
ti-bandgap.h thermal: ti-soc-thermal: Fix stuck sensor with continuous mode for 4430 2021-02-15 21:19:15 +01:00
ti-thermal-common.c thermal: core: Rework .get_trend() thermal zone callback 2023-08-29 20:48:35 +02:00
ti-thermal.h thermal/drivers/ti: Remove unused macros ti_thermal_get_trip_value() / ti_thermal_trip_is_valid() 2023-01-06 14:14:48 +01:00