diff options
author | 2024-07-29 17:58:56 +0200 | |
---|---|---|
committer | 2024-08-02 13:46:10 +0200 | |
commit | ab446887ea7753e712cd3b6f54e5786bbb7b1e33 (patch) | |
tree | ea6a7cefdbdcd5bc0f988aeadba6693e3a86e40d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | thermal: hisi: Use thermal_zone_for_each_trip() in hisi_thermal_register_sensor() (diff) | |
download | wireguard-linux-ab446887ea7753e712cd3b6f54e5786bbb7b1e33.tar.xz wireguard-linux-ab446887ea7753e712cd3b6f54e5786bbb7b1e33.zip |
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
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions