summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-10-12 20:26:46 +0200
committerJoão Paulo Gonçalves <joao.goncalves@toradex.com>2025-06-12 16:12:56 -0300
commitce7f2cdc04bd84b19e3b3a66fe86a3c60fcf5bf7 (patch)
tree2891891ae7bd50a65084ea349ae63979d66ad830 /scripts/patch-kernel
parentd906885bee49d1b6f80510ce2b64776cf4ba5257 (diff)
thermal: trip: Define for_each_trip() macro
Define a new macro for_each_trip() to be used by the thermal core code and thermal governors for walking trips in a given thermal zone. Modify for_each_thermal_trip() to use this macro instead of an open- coded loop over trips. No intentional functional impact. Upstream-Status: Backport [234ed6f5fbedf7bc84f9adc08c3e11ca8588ffd8] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions