staging: unisys: fix CamelCase in enable_ints_write()
authorBenjamin Romer <benjamin.romer@unisys.com>
Tue, 20 Jan 2015 15:01:21 +0000 (10:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 11:59:18 +0000 (19:59 +0800)
Fix CamelCase variable name:

Features_addr => features_addr

Update references to use the new name.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/virthba/virthba.c

index ff780c9080d12de56d23d3c5770ea87d70a8a8c1..8cd090b9ecce325f96bf29bbbcb6ddf8c70ce98b 100644 (file)
@@ -1429,7 +1429,7 @@ static ssize_t enable_ints_write(struct file *file, const char __user *buffer,
        int i, new_value;
        struct virthba_info *virthbainfo;
 
-       u64 __iomem *Features_addr;
+       u64 __iomem *features_addr;
        u64 mask;
 
        if (count >= ARRAY_SIZE(buf))
@@ -1454,21 +1454,21 @@ static ssize_t enable_ints_write(struct file *file, const char __user *buffer,
        for (i = 0; i < VIRTHBASOPENMAX; i++) {
                if (virthbas_open[i].virthbainfo != NULL) {
                        virthbainfo = virthbas_open[i].virthbainfo;
-                       Features_addr =
+                       features_addr =
                                &virthbainfo->chinfo.queueinfo->chan->features;
                        if (new_value == 1) {
                                mask = ~(ULTRA_IO_CHANNEL_IS_POLLING |
                                         ULTRA_IO_DRIVER_DISABLES_INTS);
-                               uisqueue_interlocked_and(Features_addr, mask);
+                               uisqueue_interlocked_and(features_addr, mask);
                                mask = ULTRA_IO_DRIVER_ENABLES_INTS;
-                               uisqueue_interlocked_or(Features_addr, mask);
+                               uisqueue_interlocked_or(features_addr, mask);
                                rsltq_wait_usecs = 4000000;
                        } else {
                                mask = ~(ULTRA_IO_DRIVER_ENABLES_INTS |
                                         ULTRA_IO_DRIVER_DISABLES_INTS);
-                               uisqueue_interlocked_and(Features_addr, mask);
+                               uisqueue_interlocked_and(features_addr, mask);
                                mask = ULTRA_IO_CHANNEL_IS_POLLING;
-                               uisqueue_interlocked_or(Features_addr, mask);
+                               uisqueue_interlocked_or(features_addr, mask);
                                rsltq_wait_usecs = 4000;
                        }
                }