projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c331408
)
staging: mei: reordering the exit module cleanup
author
Oren Weil
<oren.jer.weil@intel.com>
Thu, 7 Jul 2011 13:02:45 +0000
(16:02 +0300)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 8 Jul 2011 20:59:54 +0000
(13:59 -0700)
keeping the exit flow in a reverse order then the init flow.
Signed-off-by: Oren Weil <oren.jer.weil@intel.com>
Acked-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/mei/main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/mei/main.c
b/drivers/staging/mei/main.c
index 8341a78517ed443f2c6b7898fb7ac7eb596fd99f..de8825fcd8ce0adf28fa92e8306b00de04d6bbb8 100644
(file)
--- a/
drivers/staging/mei/main.c
+++ b/
drivers/staging/mei/main.c
@@
-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");
}