提交 cbecb8bf 编写于 作者: O Oren Weil 提交者: Greg Kroah-Hartman

staging: mei: reordering the exit module cleanup

keeping the exit flow in a reverse order then the init flow.
Signed-off-by: NOren Weil <oren.jer.weil@intel.com>
Acked-by: NTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 c3314080
......@@ -1326,9 +1326,9 @@ module_init(mei_init_module);
*/
static void __exit mei_exit_module(void)
{
pci_unregister_driver(&mei_driver);
mei_sysfs_device_remove();
mei_unregister_cdev();
pci_unregister_driver(&mei_driver);
pr_debug("mei: Driver unloaded successfully.\n");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册