Files
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 <[email protected]>
Reviewed-by: Lukasz Luba <[email protected]>
Link: https://patch.msgid.link/[email protected]
2024-08-02 13:46:10 +02:00
..
2022-09-24 14:54:38 +02:00
2023-10-19 17:13:12 +02:00