mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 07:44:21 +08:00
ab446887ea
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 |
||
---|---|---|
.. | ||
Kconfig | ||
lmh.c | ||
Makefile | ||
qcom-spmi-adc-tm5.c | ||
qcom-spmi-temp-alarm.c | ||
tsens-8960.c | ||
tsens-v0_1.c | ||
tsens-v1.c | ||
tsens-v2.c | ||
tsens.c | ||
tsens.h |