summaryrefslogtreecommitdiff
path: root/drivers/thermal
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-10-03 16:24:12 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-10-05 14:32:35 +0300
commitb251ab28caeb5a4a63d832dcd53d29ad2dd5318f (patch)
tree73b1ae138b421ed00a555e9e57d117995d2d5343 /drivers/thermal
parent4f9cf91e4102fe77ef3393febab72612b594172f (diff)
downloadlinux-b251ab28caeb5a4a63d832dcd53d29ad2dd5318f.tar.xz
ACPI: thermal: Use thermal_zone_for_each_trip() for updating trips
Rearrange the code handling notifications from the platform firmware regarding trip point updates to carry out one loop over trip points instead of two of them by using thermal_zone_for_each_trip() for that, which is more straightforward than using a combination of thermal_zone_device_exec() and for_each_thermal_trip(), each with its own callback function. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/thermal')
0 files changed, 0 insertions, 0 deletions