Commit 696453ba authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman

Staging: hv: vmbus: Rename vmbus_child_device_unregister

The vmbus devices are NOT child devices; rename vmbus_child_device_unregister
to reflect this.
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 22794281
...@@ -333,7 +333,7 @@ static void vmbus_process_rescind_offer(struct work_struct *work) ...@@ -333,7 +333,7 @@ static void vmbus_process_rescind_offer(struct work_struct *work)
struct vmbus_channel, struct vmbus_channel,
work); work);
vmbus_child_device_unregister(channel->device_obj); vmbus_device_unregister(channel->device_obj);
} }
/* /*
......
...@@ -606,7 +606,7 @@ struct hv_device *vmbus_device_create(uuid_le *type, ...@@ -606,7 +606,7 @@ struct hv_device *vmbus_device_create(uuid_le *type,
struct vmbus_channel *channel); struct vmbus_channel *channel);
int vmbus_device_register(struct hv_device *child_device_obj); int vmbus_device_register(struct hv_device *child_device_obj);
void vmbus_child_device_unregister(struct hv_device *device_obj); void vmbus_device_unregister(struct hv_device *device_obj);
/* static void */ /* static void */
/* VmbusChildDeviceDestroy( */ /* VmbusChildDeviceDestroy( */
......
...@@ -650,10 +650,10 @@ int vmbus_device_register(struct hv_device *child_device_obj) ...@@ -650,10 +650,10 @@ int vmbus_device_register(struct hv_device *child_device_obj)
} }
/* /*
* vmbus_child_device_unregister - Remove the specified child device * vmbus_device_unregister - Remove the specified child device
* from the vmbus. * from the vmbus.
*/ */
void vmbus_child_device_unregister(struct hv_device *device_obj) void vmbus_device_unregister(struct hv_device *device_obj)
{ {
/* /*
* Kick off the process of unregistering the device. * Kick off the process of unregistering the device.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment