Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -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;
}
}