staging: ced1401: rename ReadHuff()
authorLuca Ellero <luca.ellero@brickedbrain.com>
Mon, 30 Jun 2014 09:57:48 +0000 (11:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Jul 2014 22:58:11 +0000 (15:58 -0700)
rename camel case function ReadHuff() to ced_read_huff()

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

index 22e0c33aa91cdb977ac8e01133de101ce6e01b8b..0eb96732d20c121e486eb7205675b19d1cbb8d31 100644 (file)
@@ -887,7 +887,7 @@ static bool ced_read_word(unsigned short *pWord, char *pBuf, unsigned int *pdDon
 #endif
 
 /****************************************************************************
-** ReadHuff
+** ced_read_huff
 **
 ** Reads a coded number in and returns it, Code is:
 ** If data is in range 0..127 we receive 1 byte. If data in range 128-16383
@@ -896,7 +896,7 @@ static bool ced_read_word(unsigned short *pWord, char *pBuf, unsigned int *pdDon
 ** to indicate three byte total.
 **
 *****************************************************************************/
-static bool ReadHuff(volatile unsigned int *pDWord, char *pBuf,
+static bool ced_read_huff(volatile unsigned int *pDWord, char *pBuf,
                     unsigned int *pdDone, unsigned int dGot)
 {
        unsigned char ucData;   /* for each read to ced_read_char */
@@ -970,9 +970,9 @@ static bool ReadDMAInfo(volatile DMADESC *pDmaDesc, DEVICE_EXTENSION *pdx,
                case TM_EXTTO1401:
                        {
                                bResult =
-                                   ReadHuff(&(pDmaDesc->dwOffset), pBuf,
+                                   ced_read_huff(&(pDmaDesc->dwOffset), pBuf,
                                             &dDone, dwCount)
-                                   && ReadHuff(&(pDmaDesc->dwSize), pBuf,
+                                   && ced_read_huff(&(pDmaDesc->dwSize), pBuf,
                                                &dDone, dwCount);
                                if (bResult) {
                                        dev_dbg(&pdx->interface->dev,
This page took 0.026731 seconds and 5 git commands to generate.