]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: ced1401: rename LineCount()
authorLuca Ellero <luca.ellero@brickedbrain.com>
Mon, 30 Jun 2014 09:58:06 +0000 (11:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Jul 2014 22:58:12 +0000 (15:58 -0700)
rename camel case function LineCount() to ced_line_count()

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

index 306213668b53d92a368b35e6c6952cda885be059..09a5b7375f8150c43e3051eea105ec6ead6a7046 100644 (file)
@@ -528,13 +528,13 @@ int ced_stat_1401(DEVICE_EXTENSION *pdx)
 }
 
 /****************************************************************************
-** LineCount
+** ced_line_count
 **
 ** Returns the number of newline chars in the buffer. There is no need for
 ** any fancy interlocks as we only read the interrupt routine data, and the
 ** system is arranged so nothing can be destroyed.
 ****************************************************************************/
-int LineCount(DEVICE_EXTENSION *pdx)
+int ced_line_count(DEVICE_EXTENSION *pdx)
 {
        int iReturn = 0;        /*  will be count of line ends */
 
index bcb0ce0c6a9b822e88684639799faabc702444d3..4cf8b1346586e2fe4a28d43dcf65bd80f270a9d7 100644 (file)
@@ -1245,7 +1245,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
                return ced_stat_1401(pdx);
 
        case _IOC_NR(IOCTL_CED_LINECOUNT):
-               return LineCount(pdx);
+               return ced_line_count(pdx);
 
        case _IOC_NR(IOCTL_CED_GETSTRING(0)):
                return ced_get_string(pdx, (char __user *)ulArg, _IOC_SIZE(cmd));
index 707290f68953d25635d0a03b8fb7a7e378cdc69b..86c8233a2625e0f48ff048cfb169a3020df3c513 100644 (file)
@@ -220,7 +220,7 @@ extern int SetTransfer(DEVICE_EXTENSION *pdx, struct transfer_area_desc __user *
 extern int UnsetTransfer(DEVICE_EXTENSION *pdx, int nArea);
 extern int SetEvent(DEVICE_EXTENSION *pdx, struct transfer_event __user *pTE);
 extern int ced_stat_1401(DEVICE_EXTENSION *pdx);
-extern int LineCount(DEVICE_EXTENSION *pdx);
+extern int ced_line_count(DEVICE_EXTENSION *pdx);
 extern int GetOutBufSpace(DEVICE_EXTENSION *pdx);
 extern int GetTransfer(DEVICE_EXTENSION *pdx, TGET_TX_BLOCK __user *pGTB);
 extern int KillIO1401(DEVICE_EXTENSION *pdx);