Commit e757046f authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman
Browse files

Staging: hv: Rename the function stor_vsc_on_cleanup

parent 3530ef30
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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)
{
}
+1 −1
Original line number Diff line number Diff line
@@ -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);
+1 −1
Original line number Diff line number Diff line
@@ -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;