projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
122a5f6
)
Staging: hv: vmbus: In vmbus_child_driver_unregister() don't set the bus field to...
author
K. Y. Srinivasan
<kys@microsoft.com>
Mon, 6 Jun 2011 22:49:25 +0000
(15:49 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 7 Jun 2011 20:45:44 +0000
(13:45 -0700)
As part of conforming to the Linux Driver Model, do not set the bus field to
NULL when the driver un-registers.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/vmbus_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/hv/vmbus_drv.c
b/drivers/staging/hv/vmbus_drv.c
index ec1d38cd481c74a8eec2e9df608762d4417b33bb..51af6d890e4d2b90b4deb948a858d5a59ac44951 100644
(file)
--- a/
drivers/staging/hv/vmbus_drv.c
+++ b/
drivers/staging/hv/vmbus_drv.c
@@
-631,7
+631,6
@@
void vmbus_child_driver_unregister(struct device_driver *drv)
driver_unregister(drv);
- drv->bus = NULL;
}
EXPORT_SYMBOL(vmbus_child_driver_unregister);