]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
staging: ced1401: fix ced_stat_1401()
authorLuca Ellero <luca.ellero@brickedbrain.com>
Thu, 10 Jul 2014 09:02:17 +0000 (11:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 22:09:26 +0000 (15:09 -0700)
Rename camel case arguments and locals in function ced_stat_1401()

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 28697c05175c9dc924c5a12b6b2f70671eb610bf..414056f5d9bd7ab18c3e280c8f0f09c5b32f538b 100644 (file)
@@ -533,13 +533,13 @@ int ced_get_string(struct ced_data *ced, char __user *user, int n)
 *******************************************************************************/
 int ced_stat_1401(struct ced_data *ced)
 {
-       int iReturn;
+       int ret;
        mutex_lock(&ced->io_mutex);     /*  Protect disconnect from new i/o */
        ced_allowi(ced);                /*  make sure we allow pending chars */
        ced_send_chars(ced);            /*  in both directions */
-       iReturn = ced->num_input;       /*  no lock as single read */
+       ret = ced->num_input;           /*  no lock as single read */
        mutex_unlock(&ced->io_mutex);   /*  Protect disconnect from new i/o */
-       return iReturn;
+       return ret;
 }
 
 /****************************************************************************