staging: wilc1000: rename WILC_MsgQueueRecv to wilc_mq_recv
authorChaehyun Lim <chaehyun.lim@gmail.com>
Wed, 19 Aug 2015 06:59:07 +0000 (15:59 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:29 +0000 (18:24 -0700)
This patch replaces WILC_MsgQueueRecv with wilc_mq_recv
to shorten function name and avoid CamelCase.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/wilc_msgqueue.c
drivers/staging/wilc1000/wilc_msgqueue.h

index 6be2348935ab54b9c5aca3a455d87e370d7f0090..f0a138305caa1bb820ebf487937ba920b029a78b 100644 (file)
@@ -4332,7 +4332,7 @@ static int hostIFthread(void *pvArg)
        memset(&strHostIFmsg, 0, sizeof(tstrHostIFmsg));
 
        while (1) {
-               WILC_MsgQueueRecv(&gMsgQHostIF, &strHostIFmsg, sizeof(tstrHostIFmsg), &u32Ret);
+               wilc_mq_recv(&gMsgQHostIF, &strHostIFmsg, sizeof(tstrHostIFmsg), &u32Ret);
                pstrWFIDrv = (tstrWILC_WFIDrv *)strHostIFmsg.drvHandler;
                if (strHostIFmsg.u16MsgId == HOST_IF_MSG_EXIT) {
                        PRINT_D(GENERIC_DBG, "THREAD: Exiting HostIfThread\n");
index b5d230bdf94f9b75e2bd6986c4d2b4b6f572a7ec..601509824a6e1c85a27d5bedef44eb4be5539d86 100644 (file)
@@ -110,7 +110,7 @@ int wilc_mq_send(WILC_MsgQueueHandle *pHandle,
  *  @note              copied from FLO glue implementatuion
  *  @version           1.0
  */
-int WILC_MsgQueueRecv(WILC_MsgQueueHandle *pHandle,
+int wilc_mq_recv(WILC_MsgQueueHandle *pHandle,
                             void *pvRecvBuffer, u32 u32RecvBufferSize,
                             u32 *pu32ReceivedLength)
 {
index 197b0a9007b7c24b20f82fb1a003b589016765ff..143fba4957b0e08edc99418213e6103cb1db5093 100644 (file)
@@ -63,7 +63,7 @@ int wilc_mq_send(WILC_MsgQueueHandle *pHandle,
  *  @date              30 Aug 2010
  *  @version           1.0
  */
-int WILC_MsgQueueRecv(WILC_MsgQueueHandle *pHandle,
+int wilc_mq_recv(WILC_MsgQueueHandle *pHandle,
                             void *pvRecvBuffer, u32 u32RecvBufferSize,
                             u32 *pu32ReceivedLength);
 
This page took 0.030554 seconds and 5 git commands to generate.