Commit 0c827eeb authored by Luis Henriques's avatar Luis Henriques Committed by Len Brown

ACPI: fan: Fix more unbalanced code block

commit 934231de fixes an unbalanced
CONFIG_ACPI_PROCFS code block during module initialisation.  This
patch fixes similar issue but for the module exit.
Signed-off-by: default avatarLuis Henriques <luis.henrix@gmail.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent c9ad8e06
...@@ -369,7 +369,9 @@ static void __exit acpi_fan_exit(void) ...@@ -369,7 +369,9 @@ static void __exit acpi_fan_exit(void)
acpi_bus_unregister_driver(&acpi_fan_driver); acpi_bus_unregister_driver(&acpi_fan_driver);
#ifdef CONFIG_ACPI_PROCFS
remove_proc_entry(ACPI_FAN_CLASS, acpi_root_dir); remove_proc_entry(ACPI_FAN_CLASS, acpi_root_dir);
#endif
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment