Rename camel case arguments and locals in function ced_send_char()

Signed-off-by: Luca Ellero <luca.ell...@brickedbrain.com>
---
 drivers/staging/ced1401/ced_ioc.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/ced1401/ced_ioc.c 
b/drivers/staging/ced1401/ced_ioc.c
index 0c96202..c84b83c 100644
--- a/drivers/staging/ced1401/ced_ioc.c
+++ b/drivers/staging/ced1401/ced_ioc.c
@@ -139,13 +139,13 @@ int ced_send_string(struct ced_data *ced, const char 
__user *data,
 ****************************************************************************/
 int ced_send_char(struct ced_data *ced, char c)
 {
-       int iReturn;
+       int ret;
        mutex_lock(&ced->io_mutex);     /*  Protect disconnect from new i/o */
-       iReturn = ced_put_chars(ced, &c, 1);
+       ret = ced_put_chars(ced, &c, 1);
        dev_dbg(&ced->interface->dev, "ced_send_char >%c< (0x%02x)\n", c, c);
        ced_allowi(ced);        /*  Make sure char reads are running */
        mutex_unlock(&ced->io_mutex);
-       return iReturn;
+       return ret;
 }
 
 /***************************************************************************
-- 
1.7.10.4

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

Reply via email to