diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-02-07 20:12:38 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-02-08 14:54:55 +0100 |
commit | 85af3310df34b0931daba8732d5b2c64a81c3b8d (patch) | |
tree | 4665a21737cdff8663a1a38f2e08b7ba60dd2ab5 /arch/powerpc/kvm/book3s_emulate.c | |
parent | 61d88437546f5f40b6411aac17c55d0298c7a19d (diff) | |
download | linux-stable-85af3310df34b0931daba8732d5b2c64a81c3b8d.tar.gz linux-stable-85af3310df34b0931daba8732d5b2c64a81c3b8d.tar.bz2 linux-stable-85af3310df34b0931daba8732d5b2c64a81c3b8d.zip |
iwlwifi: mvm: Use for_each_thermal_trip() for walking trip points
The code walking trip points in iwl_mvm_send_temp_report_ths_cmd()
reads the trip table passed to thermal_zone_device_register_with_trips()
in order to get the current trip temperatures, but this is not
guaranteed to work in the future, because the thermal zone will store
trip points information internally.
For this reason, make iwl_mvm_send_temp_report_ths_cmd() use
for_each_thermal_trip() as appropriate for walking trip points in a
given thermal zone.
No intentional functional impact, but it is requisite for future thermal
core improvements.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Miri Korenblit <Miriam.rachel.korenblit@intel.com>
Diffstat (limited to 'arch/powerpc/kvm/book3s_emulate.c')
0 files changed, 0 insertions, 0 deletions