Skip to content

Commit

Permalink
ACPI: fan: Fix more unbalanced code block
Browse files Browse the repository at this point in the history
commit 934231d fixes an unbalanced
CONFIG_ACPI_PROCFS code block during module initialisation.  This
patch fixes similar issue but for the module exit.

Signed-off-by: Luis Henriques <luis.henrix@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Luis Henriques authored and Len Brown committed Sep 29, 2010
1 parent c9ad8e0 commit 0c827ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/acpi/fan.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,9 @@ static void __exit acpi_fan_exit(void)

acpi_bus_unregister_driver(&acpi_fan_driver);

#ifdef CONFIG_ACPI_PROCFS
remove_proc_entry(ACPI_FAN_CLASS, acpi_root_dir);
#endif

return;
}
Expand Down

0 comments on commit 0c827ee

Please sign in to comment.