Skip to content

thermal: Use for_each_trip() in some places

Rafael J. Wysocki linux-pm lkml 1 version In review

Get series with b4
b4 am 5733564.DvuYhMxLoT@kreacher

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3thermal: trip: Use for_each_trip() in __thermal_zone_set_trips()drivers/thermal/thermal_trip.c+7 -111 reply
2/3thermal: helpers: Use for_each_trip() in __thermal_zone_get_temp()drivers/thermal/thermal_helpers.c+5 -71 reply
3/3thermal: netlink: Use for_each_trip() in thermal_genl_cmd_tz_get_trip()drivers/thermal/thermal_netlink.c+8 -121 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLukasz LubaDaniel Lezcano
SeriesR-b
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/3] thermal: Use for_each_trip() in some places

Hi,

This series changes the code to use the for_each_trip() macro in a few places instead of open-coded loops over trip indices.

Thanks!