diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-06-06 22:49:25 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-07 20:45:44 (GMT) |
commit | a1997c205e16536a3da93b3bb8fa1862c6cff1e7 (patch) | |
tree | 22e493accaea2963bbad9db6efd1f57aa64543c0 /drivers/staging/hv | |
parent | 122a5f6410f49c28e901e4a911a110b675b8bd55 (diff) | |
download | linux-fsl-qoriq-a1997c205e16536a3da93b3bb8fa1862c6cff1e7.tar.xz |
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>
Diffstat (limited to 'drivers/staging/hv')
-rw-r--r-- | drivers/staging/hv/vmbus_drv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/hv/vmbus_drv.c b/drivers/staging/hv/vmbus_drv.c index ec1d38c..51af6d8 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); |