summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorThomas Renninger <trenn@suse.de>2012-01-17 20:35:22 +0400
committerLen Brown <len.brown@intel.com>2012-01-17 23:35:52 +0400
commit5e7590d40dc59d5c1889d9e70c9da1f1df3918c6 (patch)
tree9c2118782518453a87788d83ba3da0c4ecf80903 /drivers/acpi
parent3333ea7804201918aa241641cf8493a62b8ad527 (diff)
downloadlinux-5e7590d40dc59d5c1889d9e70c9da1f1df3918c6.tar.xz
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 <trenn@suse.de> CC: Deepthi Dharwar <deepthi@linux.vnet.ibm.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/processor_driver.c2
1 files changed, 0 insertions, 2 deletions
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;
}