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

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 ec08069ced66ba10196c9a02e935bce7750bcb25..124fffa22bab5ce1feb2c2b72fe79458fc22c973 100644 (file)
@@ -762,7 +762,7 @@ int ced_set_transfer(DEVICE_EXTENSION *pdx, struct transfer_area_desc __user *pT
 ** UnSetTransfer
 ** Erases a transfer area record
 ****************************************************************************/
-int UnsetTransfer(DEVICE_EXTENSION *pdx, int nArea)
+int ced_unset_transfer(DEVICE_EXTENSION *pdx, int nArea)
 {
        int iReturn;
        mutex_lock(&pdx->io_mutex);
index 4f71330f08511eb596cd7407e25087e76961dd8d..3e7c0c1a54f51ac99ea8388463372be5c7997139 100644 (file)
@@ -1254,7 +1254,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
                return ced_set_transfer(pdx, (struct transfer_area_desc __user *) ulArg);
 
        case _IOC_NR(IOCTL_CED_UNSETTRANSFER):
-               return UnsetTransfer(pdx, (int)ulArg);
+               return ced_unset_transfer(pdx, (int)ulArg);
 
        case _IOC_NR(IOCTL_CED_SETEVENT):
                return SetEvent(pdx, (struct transfer_event __user *) ulArg);
index 7070748577861648e2b656aefed8c98cc6ada85a..ff2526100672e45927a93c7a2c7422088757a06f 100644 (file)
@@ -217,7 +217,7 @@ extern int ced_reset(DEVICE_EXTENSION *pdx);
 extern int ced_get_char(DEVICE_EXTENSION *pdx);
 extern int ced_get_string(DEVICE_EXTENSION *pdx, char __user *pUser, int n);
 extern int ced_set_transfer(DEVICE_EXTENSION *pdx, struct transfer_area_desc __user *pTD);
-extern int UnsetTransfer(DEVICE_EXTENSION *pdx, int nArea);
+extern int ced_unset_transfer(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 ced_line_count(DEVICE_EXTENSION *pdx);