提交 0c827eeb 编写于 作者: L Luis Henriques 提交者: 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: NLuis Henriques <luis.henrix@gmail.com>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 c9ad8e06
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册