[PATCH 41/71] staging: unisys: textId camel cases

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


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

Changed the u32 textId to textid in the static ssize_ts textid_show
and textid_store
textId => textid

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 80a81cc..b7da582 100644
--- a/drivers/staging/unisys/visorchipset/visorchipset_main.c
+++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c
@@ -459,27 +459,27 @@ static ssize_t error_store(struct device *dev, struct device_attribute *attr,
 static ssize_t textid_show(struct device *dev, struct device_attribute *attr,
 			   char *buf)
 {
-	u32 textId;
+	u32 textid;
 
 	visorchannel_read(controlvm_channel, offsetof(
 		struct spar_controlvm_channel_protocol, installation_text_id),
-		&textId, sizeof(u32));
-	return scnprintf(buf, PAGE_SIZE, "%i\n", textId);
+		&textid, sizeof(u32));
+	return scnprintf(buf, PAGE_SIZE, "%i\n", textid);
 }
 
 static ssize_t textid_store(struct device *dev, struct device_attribute *attr,
 			    const char *buf, size_t count)
 {
-	u32 textId;
+	u32 textid;
 	int ret;
 
-	if (kstrtou32(buf, 10, &textId) != 0)
+	if (kstrtou32(buf, 10, &textid) != 0)
 		return -EINVAL;
 
 	ret = visorchannel_write(controlvm_channel,
 				 offsetof(struct spar_controlvm_channel_protocol,
 					  installation_text_id),
-					  &textId, sizeof(u32));
+					  &textid, sizeof(u32));
 	if (ret)
 		return ret;
 	return count;
-- 
1.8.4



More information about the devel mailing list