Renamed variable "Status" -> "status" in
bcm_char_ioctl_reg_write_private().

Signed-off-by: Matthias Beyer <m...@beyermatthias.de>
---
 drivers/staging/bcm/Bcmchar.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c
index 1f30cea..31a4f71 100644
--- a/drivers/staging/bcm/Bcmchar.c
+++ b/drivers/staging/bcm/Bcmchar.c
@@ -348,7 +348,7 @@ static int bcm_char_ioctl_eeprom_reg_read(void __user *argp,
        struct bcm_ioctl_buffer io_buff;
        PCHAR temp_buff = NULL;
        UINT tmp = 0;
-       INT Status;
+       INT status;
        int bytes;
 
        if ((ad->IdleMode == TRUE) ||
@@ -396,17 +396,17 @@ static int bcm_char_ioctl_eeprom_reg_read(void __user 
*argp,
                               (PUINT)temp_buff, io_buff.OutputLength);
 
        if (bytes > 0) {
-               Status = STATUS_SUCCESS;
+               status = STATUS_SUCCESS;
                if (copy_to_user(io_buff.OutputBuffer, temp_buff, bytes)) {
                        kfree(temp_buff);
                        return -EFAULT;
                }
        } else {
-               Status = bytes;
+               status = bytes;
        }
 
        kfree(temp_buff);
-       return Status;
+       return status;
 }
 
 static int bcm_char_ioctl_eeprom_reg_write(void __user *argp,
-- 
2.0.3

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

Reply via email to