staging: ced1401: rename CheckSelfTest()
authorLuca Ellero <luca.ellero@brickedbrain.com>
Mon, 30 Jun 2014 10:00:32 +0000 (12:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Jul 2014 22:59:34 +0000 (15:59 -0700)
rename camel case function CheckSelfTest() to ced_check_self_test()

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 01ff639b133bcda281a019cbf0c8f90fe6ef8afd..1cc75bf556430c78ef631a953da5249c063fa50c 100644 (file)
@@ -981,11 +981,11 @@ int ced_start_self_test(DEVICE_EXTENSION *pdx)
 }
 
 /****************************************************************************
-** CheckSelfTest
+** ced_check_self_test
 **
 ** Check progress of a self-test cycle
 ****************************************************************************/
-int CheckSelfTest(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST)
+int ced_check_self_test(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST)
 {
        unsigned int state, error;
        int iReturn;
index 292e8bf33de119979ced38c23e0c44504d02f726..3f82875f491e586e1e63c82424f2628cdd41ad34 100644 (file)
@@ -1285,7 +1285,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
                return ced_start_self_test(pdx);
 
        case _IOC_NR(IOCTL_CED_CHECKSELFTEST):
-               return CheckSelfTest(pdx, (TGET_SELFTEST __user *) ulArg);
+               return ced_check_self_test(pdx, (TGET_SELFTEST __user *) ulArg);
 
        case _IOC_NR(IOCTL_CED_TYPEOF1401):
                return TypeOf1401(pdx);
index 73dc750c824d6480c8f5dfaf1c392dd4c60b5c47..0c7ad233a7c551df87792893d765948237f682b3 100644 (file)
@@ -226,7 +226,7 @@ extern int ced_get_transfer(DEVICE_EXTENSION *pdx, TGET_TX_BLOCK __user *pGTB);
 extern int ced_kill_io(DEVICE_EXTENSION *pdx);
 extern int ced_state_of_1401(DEVICE_EXTENSION *pdx);
 extern int ced_start_self_test(DEVICE_EXTENSION *pdx);
-extern int CheckSelfTest(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST);
+extern int ced_check_self_test(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST);
 extern int TypeOf1401(DEVICE_EXTENSION *pdx);
 extern int TransferFlags(DEVICE_EXTENSION *pdx);
 extern int DbgPeek(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);