summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ced1401
diff options
context:
space:
mode:
authorLuca Ellero <luca.ellero@brickedbrain.com>2014-07-10 11:04:05 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-10 15:10:06 -0700
commit02f1d35cc475691106d6b06c4945fef75a59bd89 (patch)
tree3eee1e97f9874b0a5f73b2957e24e77910ee1306 /drivers/staging/ced1401
parentbbe2bc768c218bfe46a50698d5829316e8ef19c5 (diff)
downloadblackbird-obmc-linux-02f1d35cc475691106d6b06c4945fef75a59bd89.tar.gz
blackbird-obmc-linux-02f1d35cc475691106d6b06c4945fef75a59bd89.zip
staging: ced1401: fix ced_dbg_cmd()
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>
Diffstat (limited to 'drivers/staging/ced1401')
-rw-r--r--drivers/staging/ced1401/ced_ioc.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/staging/ced1401/ced_ioc.c b/drivers/staging/ced1401/ced_ioc.c
index 0778cf04160a..46cc29392e55 100644
--- a/drivers/staging/ced1401/ced_ioc.c
+++ b/drivers/staging/ced1401/ced_ioc.c
@@ -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;
}
/****************************************************************************
OpenPOWER on IntegriCloud