]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: rename WILC_MsgQueueCreate to wilc_mq_create
authorChaehyun Lim <chaehyun.lim@gmail.com>
Wed, 19 Aug 2015 06:59:05 +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_MsgQueueCreate with wilc_mq_create 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 66fa677015db43e5224eef679b60a690708a7297..159734f90ba69d595d62997ee790f03582fb417d 100644 (file)
@@ -6532,7 +6532,7 @@ s32 host_int_init(tstrWILC_WFIDrv **phWFIDrv)
        PRINT_D(HOSTINF_DBG, "INIT: CLIENT COUNT %d\n", clients_count);
 
        if (clients_count == 0) {
-               s32Error = WILC_MsgQueueCreate(&gMsgQHostIF);
+               s32Error = wilc_mq_create(&gMsgQHostIF);
 
                if (s32Error < 0) {
                        PRINT_ER("Failed to creat MQ\n");
index f528f9879d4db8922c3578c1d5abbf050a91d5b3..035809981847869cda780656c6d9734a25243afd 100644 (file)
@@ -8,7 +8,7 @@
  *  @note              copied from FLO glue implementatuion
  *  @version           1.0
  */
-int WILC_MsgQueueCreate(WILC_MsgQueueHandle *pHandle)
+int wilc_mq_create(WILC_MsgQueueHandle *pHandle)
 {
        spin_lock_init(&pHandle->strCriticalSection);
        sema_init(&pHandle->hSem, 0);
index a32c6db5971d5094946d407b9f6d1a7cd1806593..555aa02c16687df550121251bd1523a0d7e5d42e 100644 (file)
@@ -27,7 +27,7 @@
  *  @date              30 Aug 2010
  *  @version           1.0
  */
-int WILC_MsgQueueCreate(WILC_MsgQueueHandle *pHandle);
+int wilc_mq_create(WILC_MsgQueueHandle *pHandle);
 
 /*!
  *  @brief             Sends a message