aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-10-03 15:24:12 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-10-05 13:32:35 +0200
commitb251ab28caeb5a4a63d832dcd53d29ad2dd5318f (patch)
tree73b1ae138b421ed00a555e9e57d117995d2d5343 /drivers/mtd/lpddr/lpddr_cmds.c
parent4f9cf91e4102fe77ef3393febab72612b594172f (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