]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: hv: Rename the function stor_vsc_on_cleanup
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:54:00 +0000 (07:54 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:38:57 +0000 (13:38 -0700)
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>
drivers/staging/hv/blkvsc_drv.c
drivers/staging/hv/storvsc.c
drivers/staging/hv/storvsc_api.h
drivers/staging/hv/storvsc_drv.c

index 524c5555bc7c6bd29a09a38891ce029c6a5094f2..11868cf7ffd53e74b299860b8a2ae6e910c600ac 100644 (file)
@@ -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;
index 976f3825c4ee1dc610d76229ab2f502efb3c55eb..2e276b4d96dd15e8d40c629431bb84e4b5cbfd11 100644 (file)
@@ -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)
 {
 }
 
index b3207a00801ad3155b5d520661b3a96cc45ab7fd..3168161d0a172340aae0698700d33b19d6f1d951 100644 (file)
@@ -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);
index 903ecbe795bad2b475de25b998e9a2bb84f6ec31..86f2bab0b6c8e1c9e61b97fcdb85852f28bb740c 100644 (file)
@@ -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;