diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-12-13 09:55:33 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-12-16 12:06:18 +0100 |
commit | aa659a3fca79abd9a3ca3ddc535db631b01c9a02 (patch) | |
tree | 2e8c45b7b2df539133f44642d64a26f420c6a72e /fs/nls/nls_base.c | |
parent | 987c785319b99e32602f7f86cfae3cf9b81e402b (diff) |
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 'fs/nls/nls_base.c')
0 files changed, 0 insertions, 0 deletions