[PATCH 40/71] staging: unisys: efisparindication camel cases

Jeffrey Brown Jeffrey.Brown at unisys.com
Wed Nov 12 17:42:25 UTC 2014


From: Jeffrey <Jeffrey.Brown at unisys.com>

Changed the camel caes of EfiSparIndication to efisparindication in
the static ssize_ts of boottotool_store and boottotool_show
EfiSparIndication => efisparindication

Signed-off-by: Jeffrey Brown <Jeffrey.Brown at unisys.com>
---
 drivers/staging/unisys/visorchipset/visorchipset_main.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c
index d21752f..80a81cc 100644
--- a/drivers/staging/unisys/visorchipset/visorchipset_main.c
+++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c
@@ -396,14 +396,14 @@ static ssize_t boottotool_show(struct device *dev,
 			       struct device_attribute *attr,
 			       char *buf)
 {
-	struct efi_spar_indication efiSparIndication;
+	struct efi_spar_indication efisparindication;
 
 	visorchannel_read(controlvm_channel,
 			  offsetof(struct spar_controlvm_channel_protocol,
-				   efi_spar_ind), &efiSparIndication,
+				   efi_spar_ind), &efisparindication,
 				   sizeof(struct efi_spar_indication));
 	return scnprintf(buf, PAGE_SIZE, "%u\n",
-			efiSparIndication.boot_to_tool);
+			efisparindication.boot_to_tool);
 }
 
 static ssize_t boottotool_store(struct device *dev,
@@ -411,15 +411,15 @@ static ssize_t boottotool_store(struct device *dev,
 				const char *buf, size_t count)
 {
 	int val, ret;
-	struct efi_spar_indication efiSparIndication;
+	struct efi_spar_indication efisparindication;
 
 	if (kstrtoint(buf, 10, &val) != 0)
 		return -EINVAL;
 
-	efiSparIndication.boot_to_tool = val;
+	efisparindication.boot_to_tool = val;
 	ret = visorchannel_write(controlvm_channel,
 				 offsetof(struct spar_controlvm_channel_protocol,
-					  efi_spar_ind), &(efiSparIndication),
+					  efi_spar_ind), &(efisparindication),
 					  sizeof(struct efi_spar_indication));
 
 	if (ret)
-- 
1.8.4



More information about the devel mailing list