diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-10-03 15:26:35 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-10-05 13:31:15 +0200 |
commit | cd3c00e7760905270541981f4c5d1e31f38c2e47 (patch) | |
tree | 02cbc3f64018c2fe104c6bf468fe4baf21519457 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 2cbe1a333115b9d318a5066945a74f1d01e9ee19 (diff) |
thermal: int340x: Use thermal_zone_for_each_trip()
Modify int340x_thermal_update_trips() to use thermal_zone_for_each_trip()
for walking trips instead of using the trips[] table passed to the
thermal zone registration function.
For this purpose, store active trip point indices in the priv fieids of
the corresponding thermal_trip structures.
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