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-Tag: firefly_0821_release~3680^2~4924^2~568^2~81 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a1997c205e16536a3da93b3bb8fa1862c6cff1e7;p=firefly-linux-kernel-4.4.55.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);