staging: wilc1000: rename bExiting in struct message_queue
authorChaehyun Lim <chaehyun.lim@gmail.com>
Thu, 21 Jan 2016 11:30:38 +0000 (20:30 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:21:18 +0000 (15:21 -0800)
This patch renames bExiting to exiting to avoid camelcase.

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

index 67bf147d71220d458bd313636699eb33582f221c..47ba2564d93119c7561f9339855234ba71dae981 100644 (file)
@@ -17,7 +17,7 @@ int wilc_mq_create(struct message_queue *pHandle)
        sema_init(&pHandle->sem, 0);
        pHandle->pstrMessageList = NULL;
        pHandle->u32ReceiversCount = 0;
-       pHandle->bExiting = false;
+       pHandle->exiting = false;
        return 0;
 }
 
@@ -29,7 +29,7 @@ int wilc_mq_create(struct message_queue *pHandle)
  */
 int wilc_mq_destroy(struct message_queue *pHandle)
 {
-       pHandle->bExiting = true;
+       pHandle->exiting = true;
 
        /* Release any waiting receiver thread. */
        while (pHandle->u32ReceiversCount > 0) {
@@ -64,7 +64,7 @@ int wilc_mq_send(struct message_queue *pHandle,
                return -EFAULT;
        }
 
-       if (pHandle->bExiting) {
+       if (pHandle->exiting) {
                PRINT_ER("pHandle fail\n");
                return -EFAULT;
        }
@@ -123,7 +123,7 @@ int wilc_mq_recv(struct message_queue *pHandle,
                return -EINVAL;
        }
 
-       if (pHandle->bExiting) {
+       if (pHandle->exiting) {
                PRINT_ER("pHandle fail\n");
                return -EFAULT;
        }
index 6cdebbf09c111a6319c870a80ef74862540199a9..2c21b3e5cd3f5e6c6b2fe1c210015674d0c323f1 100644 (file)
@@ -22,7 +22,7 @@ struct message {
 struct message_queue {
        struct semaphore sem;
        spinlock_t lock;
-       bool bExiting;
+       bool exiting;
        u32 u32ReceiversCount;
        struct message *pstrMessageList;
 };
This page took 0.025892 seconds and 5 git commands to generate.