From: Jeffrey <jeffrey.br...@unisys.com>

Changed the camel cases of toolAction to toolaction in the static
ssize_ts toolaction_store, and toolaction_show
toolAction => toolaction

Signed-off-by: Jeffrey Brown <jeffrey.br...@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 83382ec..d21752f 100644
--- a/drivers/staging/unisys/visorchipset/visorchipset_main.c
+++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c
@@ -364,28 +364,28 @@ static ssize_t toolaction_show(struct device *dev,
                               struct device_attribute *attr,
                               char *buf)
 {
-       u8 toolAction;
+       u8 toolaction;
 
        visorchannel_read(controlvm_channel,
                          offsetof(struct spar_controlvm_channel_protocol,
-                                  tool_action), &toolAction, sizeof(u8));
-       return scnprintf(buf, PAGE_SIZE, "%u\n", toolAction);
+                                  tool_action), &toolaction, sizeof(u8));
+       return scnprintf(buf, PAGE_SIZE, "%u\n", toolaction);
 }
 
 static ssize_t toolaction_store(struct device *dev,
                                struct device_attribute *attr,
                                const char *buf, size_t count)
 {
-       u8 toolAction;
+       u8 toolaction;
        int ret;
 
-       if (kstrtou8(buf, 10, &toolAction) != 0)
+       if (kstrtou8(buf, 10, &toolaction) != 0)
                return -EINVAL;
 
        ret = visorchannel_write(controlvm_channel,
                                 offsetof(struct 
spar_controlvm_channel_protocol,
                                          tool_action),
-                                         &toolAction, sizeof(u8));
+                                         &toolaction, sizeof(u8));
 
        if (ret)
                return ret;
-- 
1.8.4

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to