diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-09-18 23:10:31 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-09-19 22:49:49 +0200 |
| commit | fbd401e95e569ad0307e4301012f2d8e1ec1ee98 (patch) | |
| tree | 3c507685b3ab32c7bb0c2301af98c1995bb0cc43 /drivers/acpi/processor_driver.c | |
| parent | ACPI: processor: Update cpuidle driver check in __acpi_processor_start() (diff) | |
| download | linux-fbd401e95e569ad0307e4301012f2d8e1ec1ee98.tar.gz linux-fbd401e95e569ad0307e4301012f2d8e1ec1ee98.zip | |
ACPI: processor: idle: Redefine two functions as void
Notice that acpi_processor_power_init() and acpi_processor_power_exit()
don't need to return any values because their callers don't check them
anyway, so redefine those functions as void.
While at it, rearrange the code in acpi_processor_power_init() to
reduce the indentation level, get rid of a redundant local variable
in that function, and rephrase a code comment in it.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Diffstat (limited to 'drivers/acpi/processor_driver.c')
0 files changed, 0 insertions, 0 deletions
