Staging: hv: Rename the function stor_vsc_on_cleanup
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: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
3530ef3010
commit
e757046fc8
4 changed files with 5 additions and 6 deletions
|
@ -17,8 +17,7 @@
|
|||
* Authors:
|
||||
* Haiyang Zhang <haiyangz@microsoft.com>
|
||||
* Hank Janssen <hjanssen@microsoft.com>
|
||||
*
|
||||
* 4/3/2011: K. Y. Srinivasan - Significant restructuring and cleanup.
|
||||
* K. Y. Srinivasan <kys@microsoft.com>
|
||||
*/
|
||||
#include <linux/init.h>
|
||||
#include <linux/module.h>
|
||||
|
@ -197,7 +196,7 @@ static int blk_vsc_initialize(struct hv_driver *driver)
|
|||
stor_driver->max_outstanding_req_per_channel);
|
||||
|
||||
/* Setup the dispatch table */
|
||||
stor_driver->base.cleanup = stor_vsc_on_cleanup;
|
||||
stor_driver->base.cleanup = storvsc_cleanup;
|
||||
stor_driver->on_io_request = stor_vsc_on_io_request;
|
||||
|
||||
return ret;
|
||||
|
|
|
@ -663,7 +663,7 @@ int stor_vsc_get_major_info(struct storvsc_device_info *device_info,
|
|||
/*
|
||||
* stor_vsc_on_cleanup - Perform any cleanup when the driver is removed
|
||||
*/
|
||||
void stor_vsc_on_cleanup(struct hv_driver *driver)
|
||||
void storvsc_cleanup(struct hv_driver *driver)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -169,7 +169,7 @@ int storvsc_dev_remove(struct hv_device *device);
|
|||
|
||||
int stor_vsc_on_io_request(struct hv_device *device,
|
||||
struct hv_storvsc_request *request);
|
||||
void stor_vsc_on_cleanup(struct hv_driver *driver);
|
||||
void storvsc_cleanup(struct hv_driver *driver);
|
||||
|
||||
int stor_vsc_get_major_info(struct storvsc_device_info *device_info,
|
||||
struct storvsc_major_info *major_info);
|
||||
|
|
|
@ -115,7 +115,7 @@ static int stor_vsc_initialize(struct hv_driver *driver)
|
|||
/* Setup the dispatch table */
|
||||
stor_driver->base.dev_add = storvsc_dev_add;
|
||||
stor_driver->base.dev_rm = storvsc_dev_remove;
|
||||
stor_driver->base.cleanup = stor_vsc_on_cleanup;
|
||||
stor_driver->base.cleanup = storvsc_cleanup;
|
||||
|
||||
stor_driver->on_io_request = stor_vsc_on_io_request;
|
||||
|
||||
|
|
Loading…
Reference in a new issue