summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-12-23 13:09:12 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-01-10 00:38:22 +0300
commit31612f3642b1ec813c9c5915b4704e669630db28 (patch)
treeb91c58952cb5e367b24559472fd803f4a355e8bf /include/linux
parent0089ce1c056aee547115bdc25c223f8f88c08498 (diff)
downloadlinux-31612f3642b1ec813c9c5915b4704e669630db28.tar.xz
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> Tested-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://patch.msgid.link/20251223100914.2407069-5-lihuisong@huawei.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions