diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-08-07 20:06:13 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-08-17 11:24:18 +0200 |
commit | bf07b4a3ba3446ba4bbe1ddac235162dbda2ce57 (patch) | |
tree | caf1d5a27c2fc1758938a8f3b731e13c1ac7d18b /tools/perf/scripts/python | |
parent | cba440fab30106c9ebd30dbbb64d4fb7b997a8e8 (diff) |
ACPI: thermal: Clean up acpi_thermal_register_thermal_zone()
Rename the trips variable in acpi_thermal_register_thermal_zone() to
trip_count so its name better reflects the purpose, rearrange white
space in the loop over active trips for clarity and reduce code
duplication related to calling thermal_zone_device_register() by
using an extra local variable to store the passive delay value.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions