From: Thomas Renninger Date: Tue, 17 Jan 2012 16:35:22 +0000 (+0100) Subject: ACPI processor: Remove unneeded cpuidle_unregister_driver call X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5e7590d40dc59d5c1889d9e70c9da1f1df3918c6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ACPI processor: Remove unneeded cpuidle_unregister_driver call Since commit 46bcfad7a819bd17ac4e831b04405152d59784ab registering and unregistering cpuidle is done in processor_idle.c. Unregistering via: acpi_bus_unregister_driver(&acpi_processor_driver) -> acpi_processor_remove() -> acpi_processor_power_exit() Remove not needed cpuidle_unregister_driver() call from acpi_processor_exit Signed-off-by: Thomas Renninger CC: Deepthi Dharwar Signed-off-by: Len Brown --- diff --git a/drivers/acpi/processor_driver.c b/drivers/acpi/processor_driver.c index 90719d125e74..3616ce5509c8 100644 --- a/drivers/acpi/processor_driver.c +++ b/drivers/acpi/processor_driver.c @@ -828,8 +828,6 @@ static void __exit acpi_processor_exit(void) acpi_bus_unregister_driver(&acpi_processor_driver); - cpuidle_unregister_driver(&acpi_idle_driver); - return; }