aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2024-06-17 20:07:35 +0200
committerRafael J. Wysocki <[email protected]>2024-07-04 13:25:31 +0200
commit6fb75c967162c28b2a50cb4673cce36e0e70e3dc (patch)
tree1012bcce0cfa2e5eaf4718cfab695512f3337581 /scripts/objdiff
parentefde8bfdc1c76b4eefc5de0eb4c14738580d97d6 (diff)
thermal: uniphier: Use thermal_zone_for_each_trip() for walking trip points
It is generally inefficient to iterate over trip indices and call thermal_zone_get_trip() every time to get the struct thermal_trip corresponding to the given trip index, so modify the uniphier thermal driver to use thermal_zone_for_each_trip() for walking trips. Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Kunihiko Hayashi <[email protected]> Link: https://patch.msgid.link/2148114.bB369e8A3T@kreacher [ rjw: Add missing return statement, remove unused local variable ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions