This series fix a memory leak issue and optimize the registration of acpi idle driver to enhance its readability. --- changelog: v3: * use a separate patch to fix memory leak. * change the return value of the new function to void. * change log level to debug on failure path. v2: * register cpuidle driver in advance when all of the CPUs have been brought up. https://patchwork.kernel.org/project/linux-acpi/patch/20250723121034.3685996-1-lihuisong@xxxxxxxxxx/ v1: https://patchwork.kernel.org/project/linux-acpi/patch/20250619061327.1674384-1-lihuisong@xxxxxxxxxx/ Huisong Li (2): ACPI: processor: idle: Fix memory leak when register cpuidle device failed ACPI: processor: idle: Optimize acpi idle driver registration drivers/acpi/processor_driver.c | 3 ++ drivers/acpi/processor_idle.c | 67 ++++++++++++++++++++++----------- include/acpi/processor.h | 8 ++++ 3 files changed, 55 insertions(+), 23 deletions(-) -- 2.33.0