Rename camel case arguments and locals in function ced_wait_event() Signed-off-by: Luca Ellero <luca.ellero@xxxxxxxxxxxxxxxx> --- drivers/staging/ced1401/ced_ioc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/ced1401/ced_ioc.c b/drivers/staging/ced1401/ced_ioc.c index 8d6b9f1..88d057c 100644 --- a/drivers/staging/ced1401/ced_ioc.c +++ b/drivers/staging/ced1401/ced_ioc.c @@ -869,7 +869,7 @@ int ced_wait_event(struct ced_data *ced, int area, int time_out) if ((unsigned)area >= MAX_TRANSAREAS) return U14ERR_BADAREA; else { - int iWait; + int wait; struct transarea *ta = &ced->trans_def[area]; /* convert timeout to jiffies */ @@ -889,16 +889,16 @@ int ced_wait_event(struct ced_data *ced, int area, int time_out) mutex_unlock(&ced->io_mutex); if (time_out) - iWait = + wait = wait_event_interruptible_timeout(ta->event, ta->wake_up || !ta->used, time_out); else - iWait = + wait = wait_event_interruptible(ta->event, ta->wake_up || !ta->used); - if (iWait) + if (wait) ret = -ERESTARTSYS; /* oops - we have had a SIGNAL */ else ret = ta->wake_up; /* else the wakeup count */ -- 1.7.10.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel