staging: ced1401: fix ced_dbg_stop_loop()
authorLuca Ellero <luca.ellero@brickedbrain.com>
Thu, 10 Jul 2014 09:04:09 +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_dbg_stop_loop()

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 682da273726ff4e493d4691ba133b5d49f15c9cc..3da24a61282048dc6f4dbcd591d92a6465cafb9e 100644 (file)
@@ -1354,15 +1354,15 @@ int ced_dbg_get_data(struct ced_data *ced, TDBGBLOCK __user *udb)
 ****************************************************************************/
 int ced_dbg_stop_loop(struct ced_data *ced)
 {
-       int iReturn;
+       int ret;
        unsigned int uState, uErr;
 
        mutex_lock(&ced->io_mutex);
        dev_dbg(&ced->interface->dev, "%s\n", __func__);
-       iReturn = ced_get_state(ced, &uState, &uErr);
+       ret = ced_get_state(ced, &uState, &uErr);
        mutex_unlock(&ced->io_mutex);
 
-       return iReturn;
+       return ret;
 }
 
 /****************************************************************************