]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
staging: ced1401: fix ced_read_word()
authorLuca Ellero <luca.ellero@brickedbrain.com>
Thu, 10 Jul 2014 09:01:59 +0000 (11:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 22:08:33 +0000 (15:08 -0700)
Rename camel case arguments and locals in function ced_read_word()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ced1401/usb1401.c

index 17d1c60e77a8ac5eb63a299749b1480c7c6ef52b..d062d5d7fc52b7eb505ebe2b4c42c219da5093ba 100644 (file)
@@ -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;
 }