Staging: hv: vmbus: In vmbus_child_driver_unregister() don't set the 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>
This commit is contained in:
parent
122a5f6410
commit
a1997c205e
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user