From: K. Y. Srinivasan Date: Mon, 6 Jun 2011 22:49:25 +0000 (-0700) Subject: Staging: hv: vmbus: In vmbus_child_driver_unregister() don't set the bus field to... X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a1997c205e16536a3da93b3bb8fa1862c6cff1e7;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/vmbus_drv.c b/drivers/staging/hv/vmbus_drv.c index ec1d38cd481c..51af6d890e4d 100644 --- 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);