diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-10-03 15:24:12 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-10-05 13:32:35 +0200 |
commit | b251ab28caeb5a4a63d832dcd53d29ad2dd5318f (patch) | |
tree | 73b1ae138b421ed00a555e9e57d117995d2d5343 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 4f9cf91e4102fe77ef3393febab72612b594172f (diff) |
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/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions