[PATCH 068/115] staging: ced1401: fix ced_read_word()

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

 



Rename camel case arguments and locals in function ced_read_word()

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

diff --git a/drivers/staging/ced1401/usb1401.c b/drivers/staging/ced1401/usb1401.c
index 17d1c60..d062d5d 100644
--- a/drivers/staging/ced1401/usb1401.c
+++ b/drivers/staging/ced1401/usb1401.c
@@ -959,15 +959,16 @@ static bool ced_read_char(unsigned char *character, char *buf,
 **
 ** ced_read_word
 **
-** Reads a word from the 1401, just uses ced_read_char twice; passes on any error
+** Reads a word from the 1401, just uses ced_read_char twice;
+** passes on any error
 **
 *****************************************************************************/
-static bool ced_read_word(unsigned short *pWord, char *pBuf, unsigned int *pdDone,
-		     unsigned int dGot)
+static bool ced_read_word(unsigned short *word, char *buf, unsigned int *n_done,
+		     unsigned int got)
 {
-	if (ced_read_char((unsigned char *)pWord, pBuf, pdDone, dGot))
-		return ced_read_char(((unsigned char *)pWord) + 1, pBuf, pdDone,
-				dGot);
+	if (ced_read_char((unsigned char *)word, buf, n_done, got))
+		return ced_read_char(((unsigned char *)word) + 1, buf, n_done,
+				got);
 	else
 		return false;
 }
-- 
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