Rename camel case arguments and locals in function ced_dbg_cmd() Signed-off-by: Luca Ellero <luca.ellero@xxxxxxxxxxxxxxxx> --- drivers/staging/ced1401/ced_ioc.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/staging/ced1401/ced_ioc.c b/drivers/staging/ced1401/ced_ioc.c index 0778cf0..46cc293 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; } /**************************************************************************** -- 1.7.10.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel