OSDN Git Service

Staging: bcm: Bcmchar.c: Renamed variable "uiOperation" -> "operation"
authorMatthias Beyer <mail@beyermatthias.de>
Sun, 10 Aug 2014 12:32:11 +0000 (14:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:20 +0000 (12:23 -0700)
Renamed variable "uiOperation" -> "operation" in
bcm_char_ioctl_gpio_set_request().

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Bcmchar.c

index 6ae95d0..8b23ec9 100644 (file)
@@ -484,7 +484,7 @@ static int bcm_char_ioctl_gpio_set_request(void __user *argp,
        UCHAR reset_val[4];
        UINT value = 0;
        UINT bit = 0;
-       UINT uiOperation = 0;
+       UINT operation = 0;
        INT status;
        int bytes;
 
@@ -509,7 +509,7 @@ static int bcm_char_ioctl_gpio_set_request(void __user *argp,
                return -EFAULT;
 
        bit  = gpio_info.uiGpioNumber;
-       uiOperation = gpio_info.uiGpioValue;
+       operation = gpio_info.uiGpioValue;
        value = (1<<bit);
 
        if (IsReqGpioIsLedInNVM(ad, value) == false) {
@@ -521,7 +521,7 @@ static int bcm_char_ioctl_gpio_set_request(void __user *argp,
        }
 
        /* Set - setting 1 */
-       if (uiOperation) {
+       if (operation) {
                /* Set the gpio output register */
                status = wrmaltWithLock(ad,
                                        BCM_GPIO_OUTPUT_SET_REG,