Skip to content

Commit

Permalink
Staging: hv: vmbus: In vmbus_child_driver_unregister() don't set the …
Browse files Browse the repository at this point in the history
…bus field to NULL

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>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Jun 7, 2011
1 parent 122a5f6 commit a1997c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit a1997c2

Please sign in to comment.