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

Staging: hv: Rename the function stor_vsc_on_device_remove

Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarAbhishek Kane <v-abkane@microsoft.com>
Signed-off-by: default avatarHank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2ac5dad1
...@@ -197,7 +197,7 @@ static int blk_vsc_initialize(struct hv_driver *driver) ...@@ -197,7 +197,7 @@ static int blk_vsc_initialize(struct hv_driver *driver)
stor_driver->max_outstanding_req_per_channel); stor_driver->max_outstanding_req_per_channel);
/* Setup the dispatch table */ /* Setup the dispatch table */
stor_driver->base.dev_rm = stor_vsc_on_device_remove; stor_driver->base.dev_rm = storvsc_dev_remove;
stor_driver->base.cleanup = stor_vsc_on_cleanup; stor_driver->base.cleanup = stor_vsc_on_cleanup;
stor_driver->on_io_request = stor_vsc_on_io_request; stor_driver->on_io_request = stor_vsc_on_io_request;
......
...@@ -483,7 +483,7 @@ int storvsc_dev_add(struct hv_device *device, ...@@ -483,7 +483,7 @@ int storvsc_dev_add(struct hv_device *device,
/* /*
* stor_vsc_on_device_remove - Callback when the our device is being removed * stor_vsc_on_device_remove - Callback when the our device is being removed
*/ */
int stor_vsc_on_device_remove(struct hv_device *device) int storvsc_dev_remove(struct hv_device *device)
{ {
struct storvsc_device *stor_device; struct storvsc_device *stor_device;
......
...@@ -165,7 +165,7 @@ struct storvsc_driver *drv_to_stordrv(struct device_driver *d) ...@@ -165,7 +165,7 @@ struct storvsc_driver *drv_to_stordrv(struct device_driver *d)
int storvsc_dev_add(struct hv_device *device, int storvsc_dev_add(struct hv_device *device,
void *additional_info); void *additional_info);
int stor_vsc_on_device_remove(struct hv_device *device); int storvsc_dev_remove(struct hv_device *device);
int stor_vsc_on_io_request(struct hv_device *device, int stor_vsc_on_io_request(struct hv_device *device,
struct hv_storvsc_request *request); struct hv_storvsc_request *request);
......
...@@ -114,7 +114,7 @@ static int stor_vsc_initialize(struct hv_driver *driver) ...@@ -114,7 +114,7 @@ static int stor_vsc_initialize(struct hv_driver *driver)
/* Setup the dispatch table */ /* Setup the dispatch table */
stor_driver->base.dev_add = storvsc_dev_add; stor_driver->base.dev_add = storvsc_dev_add;
stor_driver->base.dev_rm = stor_vsc_on_device_remove; stor_driver->base.dev_rm = storvsc_dev_remove;
stor_driver->base.cleanup = stor_vsc_on_cleanup; stor_driver->base.cleanup = stor_vsc_on_cleanup;
stor_driver->on_io_request = stor_vsc_on_io_request; stor_driver->on_io_request = stor_vsc_on_io_request;
......
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