linux/drivers/thermal/qcom
Rafael J. Wysocki ab446887ea thermal: qcom: Use thermal_zone_get_crit_temp() in qpnp_tm_init()
Modify qpnp_tm_init() to use thermal_zone_get_crit_temp() to get the
critical trip temperature instead of iterating over trip indices and
using thermal_zone_get_trip() to get a struct thermal_trip pointer
from a trip index until it finds the critical one.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://patch.msgid.link/7712228.EvYhyI6sBW@rjwysocki.net
2024-08-02 13:46:10 +02:00
..
Kconfig nvmem: prefix all symbols with NVMEM_ 2022-09-24 14:54:38 +02:00
lmh.c thermal/drivers/qcom/lmh: Check for SCM availability at probe 2024-04-23 12:40:29 +02:00
Makefile thermal/drivers/qcom: Add support for LMh driver 2021-08-18 09:32:25 +02:00
qcom-spmi-adc-tm5.c thermal/drivers/qcom-spmi-adc-tm5: Simplify with dev_err_probe() 2024-07-15 13:31:41 +02:00
qcom-spmi-temp-alarm.c thermal: qcom: Use thermal_zone_get_crit_temp() in qpnp_tm_init() 2024-08-02 13:46:10 +02:00
tsens-8960.c thermal/drivers/tsens: Allow configuring min and max trips 2022-12-14 15:25:40 +01:00
tsens-v0_1.c thermal/qcom/tsens: Drop ops_v0_1 2023-10-19 17:13:12 +02:00
tsens-v1.c thermal/drivers/tsens: Make tsens_xxxx_nvmem static 2023-08-16 09:54:39 +02:00
tsens-v2.c thermal/drivers/tsens: Add suspend to RAM support for tsens 2024-04-23 12:40:29 +02:00
tsens.c thermal/drivers/qcom-tsens: Simplify with dev_err_probe() 2024-07-15 13:31:41 +02:00
tsens.h thermal/drivers/tsens: Add suspend to RAM support for tsens 2024-04-23 12:40:29 +02:00