[PATCH 098/115] staging: ced1401: fix ced_state_of_1401()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rename camel case arguments and locals in function ced_state_of_1401()

Signed-off-by: Luca Ellero <luca.ellero@xxxxxxxxxxxxxxxx>
---
 drivers/staging/ced1401/ced_ioc.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/ced1401/ced_ioc.c b/drivers/staging/ced1401/ced_ioc.c
index c01250a..5395871 100644
--- a/drivers/staging/ced1401/ced_ioc.c
+++ b/drivers/staging/ced1401/ced_ioc.c
@@ -997,16 +997,16 @@ int ced_kill_io(struct ced_data *ced)
 *****************************************************************************/
 int ced_state_of_1401(struct ced_data *ced)
 {
-	int iReturn;
+	int ret;
 	mutex_lock(&ced->io_mutex);
 
-	ced_quick_check(ced, false, false);	/*  get state up to date, no reset */
-	iReturn = ced->current_state;
+	ced_quick_check(ced, false, false); /* get state up to date, no reset */
+	ret = ced->current_state;
 
 	mutex_unlock(&ced->io_mutex);
-	dev_dbg(&ced->interface->dev, "%s: %d\n", __func__, iReturn);
+	dev_dbg(&ced->interface->dev, "%s: %d\n", __func__, ret);
 
-	return iReturn;
+	return ret;
 }
 
 /****************************************************************************
-- 
1.7.10.4

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux