Skip to content

Commit

Permalink
ACPI processor: Remove unneeded cpuidle_unregister_driver call
Browse files Browse the repository at this point in the history
Since commit 46bcfad 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>
  • Loading branch information
Thomas Renninger authored and Len Brown committed Jan 17, 2012
1 parent 3333ea7 commit 5e7590d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/acpi/processor_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 5e7590d

Please sign in to comment.