diff options
author | Hank Janssen <hjanssen@microsoft.com> | 2010-12-06 15:26:46 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-06 19:11:08 -0500 |
commit | eb4f3e0aa6bef825b964159923e38a0e4c027084 (patch) | |
tree | 1055d3422a82a5c298bd55f7f27118f711a2255e | |
parent | 8a046024a7cbbe9e4c16f4e34dda0f0dbcbc6723 (diff) |
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: 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>
-rw-r--r-- | drivers/staging/hv/blkvsc.c | 2 | ||||
-rw-r--r-- | drivers/staging/hv/blkvsc_drv.c | 2 | ||||
-rw-r--r-- | drivers/staging/hv/storvsc.c | 6 | ||||
-rw-r--r-- | drivers/staging/hv/storvsc_api.h | 6 | ||||
-rw-r--r-- | drivers/staging/hv/storvsc_drv.c | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/drivers/staging/hv/blkvsc.c b/drivers/staging/hv/blkvsc.c index 9ac04c385b15..e62c922f11cb 100644 --- a/drivers/staging/hv/blkvsc.c +++ b/drivers/staging/hv/blkvsc.c | |||
@@ -62,7 +62,7 @@ static int BlkVscOnDeviceAdd(struct hv_device *Device, void *AdditionalInfo) | |||
62 | return ret; | 62 | return ret; |
63 | } | 63 | } |
64 | 64 | ||
65 | int BlkVscInitialize(struct hv_driver *Driver) | 65 | int blk_vsc_initialize(struct hv_driver *Driver) |
66 | { | 66 | { |
67 | struct storvsc_driver_object *storDriver; | 67 | struct storvsc_driver_object *storDriver; |
68 | int ret = 0; | 68 | int ret = 0; |
diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c index d65d69e3ebc2..b3d05fcfe6d2 100644 --- a/drivers/staging/hv/blkvsc_drv.c +++ b/drivers/staging/hv/blkvsc_drv.c | |||
@@ -1487,7 +1487,7 @@ static int __init blkvsc_init(void) | |||
1487 | 1487 | ||
1488 | DPRINT_INFO(BLKVSC_DRV, "Blkvsc initializing...."); | 1488 | DPRINT_INFO(BLKVSC_DRV, "Blkvsc initializing...."); |
1489 | 1489 | ||
1490 | ret = blkvsc_drv_init(BlkVscInitialize); | 1490 | ret = blkvsc_drv_init(blk_vsc_initialize); |
1491 | 1491 | ||
1492 | return ret; | 1492 | return ret; |
1493 | } | 1493 | } |
diff --git a/drivers/staging/hv/storvsc.c b/drivers/staging/hv/storvsc.c index c4346c63ed56..770413183306 100644 --- a/drivers/staging/hv/storvsc.c +++ b/drivers/staging/hv/storvsc.c | |||
@@ -605,7 +605,7 @@ static int StorVscOnDeviceRemove(struct hv_device *Device) | |||
605 | return 0; | 605 | return 0; |
606 | } | 606 | } |
607 | 607 | ||
608 | int StorVscOnHostReset(struct hv_device *Device) | 608 | int stor_vsc_on_host_reset(struct hv_device *Device) |
609 | { | 609 | { |
610 | struct storvsc_device *storDevice; | 610 | struct storvsc_device *storDevice; |
611 | struct storvsc_request_extension *request; | 611 | struct storvsc_request_extension *request; |
@@ -762,9 +762,9 @@ static void StorVscOnCleanup(struct hv_driver *Driver) | |||
762 | } | 762 | } |
763 | 763 | ||
764 | /* | 764 | /* |
765 | * StorVscInitialize - Main entry point | 765 | * stor_vsc_initialize - Main entry point |
766 | */ | 766 | */ |
767 | int StorVscInitialize(struct hv_driver *Driver) | 767 | int stor_vsc_initialize(struct hv_driver *Driver) |
768 | { | 768 | { |
769 | struct storvsc_driver_object *storDriver; | 769 | struct storvsc_driver_object *storDriver; |
770 | 770 | ||
diff --git a/drivers/staging/hv/storvsc_api.h b/drivers/staging/hv/storvsc_api.h index 46f031e0afc6..fbf57556d890 100644 --- a/drivers/staging/hv/storvsc_api.h +++ b/drivers/staging/hv/storvsc_api.h | |||
@@ -103,8 +103,8 @@ struct storvsc_device_info { | |||
103 | }; | 103 | }; |
104 | 104 | ||
105 | /* Interface */ | 105 | /* Interface */ |
106 | int StorVscInitialize(struct hv_driver *driver); | 106 | int stor_vsc_initialize(struct hv_driver *driver); |
107 | int StorVscOnHostReset(struct hv_device *device); | 107 | int stor_vsc_on_host_reset(struct hv_device *device); |
108 | int BlkVscInitialize(struct hv_driver *driver); | 108 | int blk_vsc_initialize(struct hv_driver *driver); |
109 | 109 | ||
110 | #endif /* _STORVSC_API_H_ */ | 110 | #endif /* _STORVSC_API_H_ */ |
diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c index 68a8853fa9ca..b8c5cdde324a 100644 --- a/drivers/staging/hv/storvsc_drv.c +++ b/drivers/staging/hv/storvsc_drv.c | |||
@@ -844,7 +844,7 @@ static int storvsc_host_reset_handler(struct scsi_cmnd *scmnd) | |||
844 | scmnd->device, &device_ctx->device_obj); | 844 | scmnd->device, &device_ctx->device_obj); |
845 | 845 | ||
846 | /* Invokes the vsc to reset the host/bus */ | 846 | /* Invokes the vsc to reset the host/bus */ |
847 | ret = StorVscOnHostReset(&device_ctx->device_obj); | 847 | ret = stor_vsc_on_host_reset(&device_ctx->device_obj); |
848 | if (ret != 0) | 848 | if (ret != 0) |
849 | return ret; | 849 | return ret; |
850 | 850 | ||
@@ -939,7 +939,7 @@ static int __init storvsc_init(void) | |||
939 | int ret; | 939 | int ret; |
940 | 940 | ||
941 | DPRINT_INFO(STORVSC_DRV, "Storvsc initializing...."); | 941 | DPRINT_INFO(STORVSC_DRV, "Storvsc initializing...."); |
942 | ret = storvsc_drv_init(StorVscInitialize); | 942 | ret = storvsc_drv_init(stor_vsc_initialize); |
943 | return ret; | 943 | return ret; |
944 | } | 944 | } |
945 | 945 | ||