forked from Minki/linux
ACPI processor: Remove unneeded cpuidle_unregister_driver call
Since commit 46bcfad7a8
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>
This commit is contained in:
parent
3333ea7804
commit
5e7590d40d
@ -828,8 +828,6 @@ static void __exit acpi_processor_exit(void)
|
|||||||
|
|
||||||
acpi_bus_unregister_driver(&acpi_processor_driver);
|
acpi_bus_unregister_driver(&acpi_processor_driver);
|
||||||
|
|
||||||
cpuidle_unregister_driver(&acpi_idle_driver);
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user