mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
platform/x86: wmi: Cleanup exit routine in reverse order of init
The initialize routine is: * class -> bus -> platform The exit routine is: * platform -> class -> bus Fix the exit routine to be: * platform -> bus -> class Signed-off-by: Mario Limonciello <mario.limonciello@dell.com> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
This commit is contained in:
parent
b60ee4e091
commit
303d1fcc0b
1 changed files with 1 additions and 1 deletions
|
|
@ -1264,8 +1264,8 @@ err_unreg_class:
|
|||
static void __exit acpi_wmi_exit(void)
|
||||
{
|
||||
platform_driver_unregister(&acpi_wmi_driver);
|
||||
class_unregister(&wmi_bus_class);
|
||||
bus_unregister(&wmi_bus_type);
|
||||
class_unregister(&wmi_bus_class);
|
||||
}
|
||||
|
||||
subsys_initcall(acpi_wmi_init);
|
||||
|
|
|
|||
Loading…
Reference in a new issue