summaryrefslogtreecommitdiff
path: root/drivers/thermal/thermal_sysfs.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-12-04 22:49:03 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-12-13 14:33:43 +0300
commit183b64132f9692b15545c1aad755e71a53bcfb94 (patch)
tree5ad724bbf746d5560e5e1b7e281fd607fe257008 /drivers/thermal/thermal_sysfs.c
parent2e3e7dad4bf5ad869e8dc9fa09151913154318b0 (diff)
downloadlinux-183b64132f9692b15545c1aad755e71a53bcfb94.tar.xz
thermal: netlink: Use for_each_trip() in thermal_genl_cmd_tz_get_trip()
Make thermal_genl_cmd_tz_get_trip() use for_each_trip() instead of an open- coded loop over trip indices. 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