staging: ced1401: fix ced_read_word()

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>
This commit is contained in:
Luca Ellero 2014-07-10 11:01:59 +02:00 committed by Greg Kroah-Hartman
parent 858166f9f2
commit 2459d8e45e

View file

@ -959,15 +959,16 @@ static bool ced_read_char(unsigned char *character, char *buf,
** **
** ced_read_word ** 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, static bool ced_read_word(unsigned short *word, char *buf, unsigned int *n_done,
unsigned int dGot) unsigned int got)
{ {
if (ced_read_char((unsigned char *)pWord, pBuf, pdDone, dGot)) if (ced_read_char((unsigned char *)word, buf, n_done, got))
return ced_read_char(((unsigned char *)pWord) + 1, pBuf, pdDone, return ced_read_char(((unsigned char *)word) + 1, buf, n_done,
dGot); got);
else else
return false; return false;
} }