[PATCH 079/115] staging: ced1401: fix ced_send_char()

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

 



Rename camel case arguments and locals in function ced_send_char()

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

diff --git a/drivers/staging/ced1401/ced_ioc.c b/drivers/staging/ced1401/ced_ioc.c
index bb2c0f9..27b11b7 100644
--- a/drivers/staging/ced1401/ced_ioc.c
+++ b/drivers/staging/ced1401/ced_ioc.c
@@ -139,13 +139,13 @@ int ced_send_string(struct ced_data *ced, const char __user *data,
 ****************************************************************************/
 int ced_send_char(struct ced_data *ced, char c)
 {
-	int iReturn;
+	int ret;
 	mutex_lock(&ced->io_mutex);	/*  Protect disconnect from new i/o */
-	iReturn = ced_put_chars(ced, &c, 1);
+	ret = ced_put_chars(ced, &c, 1);
 	dev_dbg(&ced->interface->dev, "ced_send_char >%c< (0x%02x)\n", c, c);
 	ced_allowi(ced);	/*  Make sure char reads are running */
 	mutex_unlock(&ced->io_mutex);
-	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