summaryrefslogtreecommitdiff
path: root/drivers/thermal/thermal_sysfs.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-10-12 21:26:46 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-10-20 20:26:01 +0300
commit234ed6f5fbedf7bc84f9adc08c3e11ca8588ffd8 (patch)
tree3f9f0553ca9580c01d07b8b216e51f65f7cae7f1 /drivers/thermal/thermal_sysfs.c
parent78869767f2ad3a98d2c830b718a503d8b0a94b26 (diff)
downloadlinux-234ed6f5fbedf7bc84f9adc08c3e11ca8588ffd8.tar.xz
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. 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 'drivers/thermal/thermal_sysfs.c')
0 files changed, 0 insertions, 0 deletions