]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
staging: ced1401: fix ced_dbg_cmd()
authorLuca Ellero <luca.ellero@brickedbrain.com>
Thu, 10 Jul 2014 09:04:05 +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_cmd()

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 0778cf04160aa71428f0015607ab29b68858cee0..46cc29392e55b1595437718499480e79fd449939 100644 (file)
@@ -1178,18 +1178,19 @@ int ced_transfer_flags(struct ced_data *ced)
 static int ced_dbg_cmd(struct ced_data *ced, unsigned char cmd,
                      unsigned int data)
 {
-       int iReturn;
+       int ret;
+
        dev_dbg(&ced->interface->dev, "%s: entry\n", __func__);
-       iReturn = usb_control_msg(ced->udev, usb_sndctrlpipe(ced->udev, 0), cmd,
+       ret = usb_control_msg(ced->udev, usb_sndctrlpipe(ced->udev, 0), cmd,
                                  (H_TO_D | VENDOR | DEVREQ),
                                  (unsigned short)data,
                                  (unsigned short)(data >> 16), NULL, 0, HZ);
                                                /* allow 1 second timeout */
-       if (iReturn < 0)
+       if (ret < 0)
                dev_err(&ced->interface->dev, "%s: fail code=%d\n",
-                       __func__, iReturn);
+                       __func__, ret);
 
-       return iReturn;
+       return ret;
 }
 
 /****************************************************************************