diff options
author | Thomas Renninger | 2012-01-17 17:35:22 +0100 |
---|---|---|
committer | Len Brown | 2012-01-17 14:35:52 -0500 |
commit | 5e7590d40dc59d5c1889d9e70c9da1f1df3918c6 (patch) | |
tree | 9c2118782518453a87788d83ba3da0c4ecf80903 | |
parent | 3333ea7804201918aa241641cf8493a62b8ad527 (diff) |
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>
-rw-r--r-- | drivers/acpi/processor_driver.c | 2 |
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; } |