Commit eb4f3e0a authored by Hank Janssen's avatar Hank Janssen Committed by Greg Kroah-Hartman

staging: hv: Convert camel case functions in storvsc_api.h to lowercase

Convert camel case functions in storvsc_api.h to lowercase
Signed-off-by: default avatarAbhishek Kane <v-abkane@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarHank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8a046024
...@@ -62,7 +62,7 @@ static int BlkVscOnDeviceAdd(struct hv_device *Device, void *AdditionalInfo) ...@@ -62,7 +62,7 @@ static int BlkVscOnDeviceAdd(struct hv_device *Device, void *AdditionalInfo)
return ret; return ret;
} }
int BlkVscInitialize(struct hv_driver *Driver) int blk_vsc_initialize(struct hv_driver *Driver)
{ {
struct storvsc_driver_object *storDriver; struct storvsc_driver_object *storDriver;
int ret = 0; int ret = 0;
......
...@@ -1487,7 +1487,7 @@ static int __init blkvsc_init(void) ...@@ -1487,7 +1487,7 @@ static int __init blkvsc_init(void)
DPRINT_INFO(BLKVSC_DRV, "Blkvsc initializing...."); DPRINT_INFO(BLKVSC_DRV, "Blkvsc initializing....");
ret = blkvsc_drv_init(BlkVscInitialize); ret = blkvsc_drv_init(blk_vsc_initialize);
return ret; return ret;
} }
......
...@@ -605,7 +605,7 @@ static int StorVscOnDeviceRemove(struct hv_device *Device) ...@@ -605,7 +605,7 @@ static int StorVscOnDeviceRemove(struct hv_device *Device)
return 0; return 0;
} }
int StorVscOnHostReset(struct hv_device *Device) int stor_vsc_on_host_reset(struct hv_device *Device)
{ {
struct storvsc_device *storDevice; struct storvsc_device *storDevice;
struct storvsc_request_extension *request; struct storvsc_request_extension *request;
...@@ -762,9 +762,9 @@ static void StorVscOnCleanup(struct hv_driver *Driver) ...@@ -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; struct storvsc_driver_object *storDriver;
......
...@@ -103,8 +103,8 @@ struct storvsc_device_info { ...@@ -103,8 +103,8 @@ struct storvsc_device_info {
}; };
/* Interface */ /* Interface */
int StorVscInitialize(struct hv_driver *driver); int stor_vsc_initialize(struct hv_driver *driver);
int StorVscOnHostReset(struct hv_device *device); int stor_vsc_on_host_reset(struct hv_device *device);
int BlkVscInitialize(struct hv_driver *driver); int blk_vsc_initialize(struct hv_driver *driver);
#endif /* _STORVSC_API_H_ */ #endif /* _STORVSC_API_H_ */
...@@ -844,7 +844,7 @@ static int storvsc_host_reset_handler(struct scsi_cmnd *scmnd) ...@@ -844,7 +844,7 @@ static int storvsc_host_reset_handler(struct scsi_cmnd *scmnd)
scmnd->device, &device_ctx->device_obj); scmnd->device, &device_ctx->device_obj);
/* Invokes the vsc to reset the host/bus */ /* 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) if (ret != 0)
return ret; return ret;
...@@ -939,7 +939,7 @@ static int __init storvsc_init(void) ...@@ -939,7 +939,7 @@ static int __init storvsc_init(void)
int ret; int ret;
DPRINT_INFO(STORVSC_DRV, "Storvsc initializing...."); DPRINT_INFO(STORVSC_DRV, "Storvsc initializing....");
ret = storvsc_drv_init(StorVscInitialize); ret = storvsc_drv_init(stor_vsc_initialize);
return ret; return ret;
} }
......
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