staging: ced1401: fix ced_state_of_1401()
authorLuca Ellero <luca.ellero@brickedbrain.com>
Thu, 10 Jul 2014 09:04:00 +0000 (11:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 22:10:06 +0000 (15:10 -0700)
Rename camel case arguments and locals in function ced_state_of_1401()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ced1401/ced_ioc.c

index 80bc213f1604432a04f6c79cb79cf3381a7102d7..b37cf266a6db039f8a6eb5af53f60d036384a488 100644 (file)
@@ -997,16 +997,16 @@ int ced_kill_io(struct ced_data *ced)
 *****************************************************************************/
 int ced_state_of_1401(struct ced_data *ced)
 {
-       int iReturn;
+       int ret;
        mutex_lock(&ced->io_mutex);
 
-       ced_quick_check(ced, false, false);     /*  get state up to date, no reset */
-       iReturn = ced->current_state;
+       ced_quick_check(ced, false, false); /* get state up to date, no reset */
+       ret = ced->current_state;
 
        mutex_unlock(&ced->io_mutex);
-       dev_dbg(&ced->interface->dev, "%s: %d\n", __func__, iReturn);
+       dev_dbg(&ced->interface->dev, "%s: %d\n", __func__, ret);
 
-       return iReturn;
+       return ret;
 }
 
 /****************************************************************************