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

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 9ac275ccd31f80eb80b0f5330b7962407bcec370..0778cf04160aa71428f0015607ab29b68858cee0 100644 (file)
@@ -1157,15 +1157,17 @@ int ced_type_of_1401(struct ced_data *ced)
 ****************************************************************************/
 int ced_transfer_flags(struct ced_data *ced)
 {
-       int iReturn = U14TF_MULTIA | U14TF_DIAG |       /*  we always have multiple DMA area */
-           U14TF_NOTIFY | U14TF_CIRCTH;        /*  diagnostics, notify and circular */
+        /* we always have multiple DMA area diagnostics, notify and circular */
+       int ret = U14TF_MULTIA | U14TF_DIAG |
+           U14TF_NOTIFY | U14TF_CIRCTH;
+
        dev_dbg(&ced->interface->dev, "%s\n", __func__);
        mutex_lock(&ced->io_mutex);
        if (ced->is_usb2)       /*  Set flag for USB2 if appropriate */
-               iReturn |= U14TF_USB2;
+               ret |= U14TF_USB2;
        mutex_unlock(&ced->io_mutex);
 
-       return iReturn;
+       return ret;
 }
 
 /***************************************************************************