[PATCH 036/115] staging: ced1401: rename KillIO1401()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



rename camel case function KillIO1401() to ced_kill_io()

Signed-off-by: Luca Ellero <luca.ellero@xxxxxxxxxxxxxxxx>
---
 drivers/staging/ced1401/ced_ioc.c |    4 ++--
 drivers/staging/ced1401/usb1401.c |    2 +-
 drivers/staging/ced1401/usb1401.h |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/ced1401/ced_ioc.c b/drivers/staging/ced1401/ced_ioc.c
index 2901552..30162a8 100644
--- a/drivers/staging/ced1401/ced_ioc.c
+++ b/drivers/staging/ced1401/ced_ioc.c
@@ -917,11 +917,11 @@ int ced_get_transfer(DEVICE_EXTENSION *pdx, TGET_TX_BLOCK __user *pTX)
 }
 
 /****************************************************************************
-** KillIO1401
+** ced_kill_io
 **
 ** Empties the host i/o buffers
 ****************************************************************************/
-int KillIO1401(DEVICE_EXTENSION *pdx)
+int ced_kill_io(DEVICE_EXTENSION *pdx)
 {
 	dev_dbg(&pdx->interface->dev, "%s\n", __func__);
 	mutex_lock(&pdx->io_mutex);
diff --git a/drivers/staging/ced1401/usb1401.c b/drivers/staging/ced1401/usb1401.c
index 2e4b201..b83f8e1 100644
--- a/drivers/staging/ced1401/usb1401.c
+++ b/drivers/staging/ced1401/usb1401.c
@@ -1272,7 +1272,7 @@ static long ced_ioctl(struct file *file, unsigned int cmd, unsigned long ulArg)
 		return ced_get_transfer(pdx, (TGET_TX_BLOCK __user *) ulArg);
 
 	case _IOC_NR(IOCTL_CED_KILLIO1401):
-		return KillIO1401(pdx);
+		return ced_kill_io(pdx);
 
 	case _IOC_NR(IOCTL_CED_STATEOF1401):
 		return StateOf1401(pdx);
diff --git a/drivers/staging/ced1401/usb1401.h b/drivers/staging/ced1401/usb1401.h
index 25b5434..14ffb88 100644
--- a/drivers/staging/ced1401/usb1401.h
+++ b/drivers/staging/ced1401/usb1401.h
@@ -223,7 +223,7 @@ extern int ced_stat_1401(DEVICE_EXTENSION *pdx);
 extern int ced_line_count(DEVICE_EXTENSION *pdx);
 extern int ced_get_out_buf_space(DEVICE_EXTENSION *pdx);
 extern int ced_get_transfer(DEVICE_EXTENSION *pdx, TGET_TX_BLOCK __user *pGTB);
-extern int KillIO1401(DEVICE_EXTENSION *pdx);
+extern int ced_kill_io(DEVICE_EXTENSION *pdx);
 extern int BlkTransState(DEVICE_EXTENSION *pdx);
 extern int StateOf1401(DEVICE_EXTENSION *pdx);
 extern int StartSelfTest(DEVICE_EXTENSION *pdx);
-- 
1.7.10.4

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux