diff options
| author | 2014-08-10 14:32:11 +0200 | |
|---|---|---|
| committer | 2014-08-16 12:23:20 -0700 | |
| commit | fe773165210890082ccab524b2818a4a466656dc (patch) | |
| tree | 3bc0cbf4cd218aa9c8e33811e84af13e353b9216 | |
| parent | Staging: bcm: Bcmchar.c: Renamed variable "uiBit" -> "bit" (diff) | |
Staging: bcm: Bcmchar.c: Renamed variable "uiOperation" -> "operation"
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>
| -rw-r--r-- | drivers/staging/bcm/Bcmchar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c index 6ae95d0c2b9e..8b23ec947fd0 100644 --- a/drivers/staging/bcm/Bcmchar.c +++ b/drivers/staging/bcm/Bcmchar.c @@ -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, |
