staging: ced1401: rename TypeOf1401()
authorLuca Ellero <luca.ellero@brickedbrain.com>
Mon, 30 Jun 2014 10:00:33 +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 TypeOf1401() to ced_type_of_1401()

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 1cc75bf556430c78ef631a953da5249c063fa50c..6b31c9f3303073f4894f99bbf634ffff0efb7acf 100644 (file)
@@ -1055,11 +1055,11 @@ int ced_check_self_test(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST)
 }
 
 /****************************************************************************
-** TypeOf1401
+** ced_type_of_1401
 **
 ** Returns code for standard, plus, micro1401, power1401 or none
 ****************************************************************************/
-int TypeOf1401(DEVICE_EXTENSION *pdx)
+int ced_type_of_1401(DEVICE_EXTENSION *pdx)
 {
        int iReturn = TYPEUNKNOWN;
        mutex_lock(&pdx->io_mutex);
index 3f82875f491e586e1e63c82424f2628cdd41ad34..f3577b91d823eb111b7153cd6adc0cfdb487a355 100644 (file)
@@ -1288,7 +1288,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
                return ced_check_self_test(pdx, (TGET_SELFTEST __user *) ulArg);
 
        case _IOC_NR(IOCTL_CED_TYPEOF1401):
-               return TypeOf1401(pdx);
+               return ced_type_of_1401(pdx);
 
        case _IOC_NR(IOCTL_CED_TRANSFERFLAGS):
                return TransferFlags(pdx);
index 0c7ad233a7c551df87792893d765948237f682b3..19d7296a18a9b51dafcc6d65607d0d5284a1e7f4 100644 (file)
@@ -227,7 +227,7 @@ 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 ced_check_self_test(DEVICE_EXTENSION *pdx, TGET_SELFTEST __user *pGST);
-extern int TypeOf1401(DEVICE_EXTENSION *pdx);
+extern int ced_type_of_1401(DEVICE_EXTENSION *pdx);
 extern int TransferFlags(DEVICE_EXTENSION *pdx);
 extern int DbgPeek(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);
 extern int DbgPoke(DEVICE_EXTENSION *pdx, TDBGBLOCK __user *pDB);