diff options
author | 2019-12-13 09:55:33 +0100 | |
---|---|---|
committer | 2019-12-16 12:06:18 +0100 | |
commit | aa659a3fca79abd9a3ca3ddc535db631b01c9a02 (patch) | |
tree | 2e8c45b7b2df539133f44642d64a26f420c6a72e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI: processor: Introduce acpi_processor_evaluate_cst() (diff) | |
download | linux-dev-aa659a3fca79abd9a3ca3ddc535db631b01c9a02.tar.xz linux-dev-aa659a3fca79abd9a3ca3ddc535db631b01c9a02.zip |
ACPI: processor: Clean up acpi_processor_evaluate_cst()
Clean up acpi_processor_evaluate_cst() in multiple ways:
* Rename current_count to last_index which matches the purpose of
the variable better.
* Consistently use acpi_handle_*() for printing messages and make
the messages cleaner.
* Drop redundant parens and braces.
* Rewrite and clarify comments.
* Rearrange checks and drop the redundant ones.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions