diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-01-09 19:42:48 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-01-12 17:38:23 +0300 |
commit | fd881eac3af6c4e36b34ce92d69fb1d7e95f5920 (patch) | |
tree | e6b8d3048e3bcc423be73862721bbe4603c1989b /tools/perf/scripts/python/task-analyzer.py | |
parent | 11fde939314836c4375b567d60407d752d987069 (diff) | |
download | linux-fd881eac3af6c4e36b34ce92d69fb1d7e95f5920.tar.xz |
thermal: helpers: Rearrange thermal_cdev_set_cur_state()
Change the code layout in thermal_cdev_set_cur_state() so it returns
early on errors which is more consistent with what happens elsewhere.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions