staging: hv: Convert camel case functions in storvsc_api.h to lowercase
authorHank Janssen <hjanssen@microsoft.com>
Mon, 6 Dec 2010 20:26:46 +0000 (12:26 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Dec 2010 00:11:08 +0000 (16:11 -0800)
Convert camel case functions in storvsc_api.h to lowercase

Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/blkvsc.c
drivers/staging/hv/blkvsc_drv.c
drivers/staging/hv/storvsc.c
drivers/staging/hv/storvsc_api.h
drivers/staging/hv/storvsc_drv.c

index 9ac04c385b15e07f234badd083340cd5958de561..e62c922f11cbe442f98736833aa235d673d82489 100644 (file)
@@ -62,7 +62,7 @@ static int BlkVscOnDeviceAdd(struct hv_device *Device, void *AdditionalInfo)
        return ret;
 }
 
-int BlkVscInitialize(struct hv_driver *Driver)
+int blk_vsc_initialize(struct hv_driver *Driver)
 {
        struct storvsc_driver_object *storDriver;
        int ret = 0;
index d65d69e3ebc26c7542b5001a6f7d99b60356691e..b3d05fcfe6d2a1ee2cde4a8f4b678322c9e05527 100644 (file)
@@ -1487,7 +1487,7 @@ static int __init blkvsc_init(void)
 
        DPRINT_INFO(BLKVSC_DRV, "Blkvsc initializing....");
 
-       ret = blkvsc_drv_init(BlkVscInitialize);
+       ret = blkvsc_drv_init(blk_vsc_initialize);
 
        return ret;
 }
index c4346c63ed569be47c283144e5a61fd7de4b7e57..77041318330660ab71e654ca97bdba8bd6349efa 100644 (file)
@@ -605,7 +605,7 @@ static int StorVscOnDeviceRemove(struct hv_device *Device)
        return 0;
 }
 
-int StorVscOnHostReset(struct hv_device *Device)
+int stor_vsc_on_host_reset(struct hv_device *Device)
 {
        struct storvsc_device *storDevice;
        struct storvsc_request_extension *request;
@@ -762,9 +762,9 @@ static void StorVscOnCleanup(struct hv_driver *Driver)
 }
 
 /*
- * StorVscInitialize - Main entry point
+ * stor_vsc_initialize - Main entry point
  */
-int StorVscInitialize(struct hv_driver *Driver)
+int stor_vsc_initialize(struct hv_driver *Driver)
 {
        struct storvsc_driver_object *storDriver;
 
index 46f031e0afc607dea5225e8c0f33c9dbe92aa619..fbf57556d89065a98c49212bba5910fd946da411 100644 (file)
@@ -103,8 +103,8 @@ struct storvsc_device_info {
 };
 
 /* Interface */
-int StorVscInitialize(struct hv_driver *driver);
-int StorVscOnHostReset(struct hv_device *device);
-int BlkVscInitialize(struct hv_driver *driver);
+int stor_vsc_initialize(struct hv_driver *driver);
+int stor_vsc_on_host_reset(struct hv_device *device);
+int blk_vsc_initialize(struct hv_driver *driver);
 
 #endif /* _STORVSC_API_H_ */
index 68a8853fa9cae78c775df50109960906a110c4cf..b8c5cdde324aaefa9ea36cf162ddc1b5612d4125 100644 (file)
@@ -844,7 +844,7 @@ static int storvsc_host_reset_handler(struct scsi_cmnd *scmnd)
                    scmnd->device, &device_ctx->device_obj);
 
        /* Invokes the vsc to reset the host/bus */
-       ret = StorVscOnHostReset(&device_ctx->device_obj);
+       ret = stor_vsc_on_host_reset(&device_ctx->device_obj);
        if (ret != 0)
                return ret;
 
@@ -939,7 +939,7 @@ static int __init storvsc_init(void)
        int ret;
 
        DPRINT_INFO(STORVSC_DRV, "Storvsc initializing....");
-       ret = storvsc_drv_init(StorVscInitialize);
+       ret = storvsc_drv_init(stor_vsc_initialize);
        return ret;
 }