]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: wilc1000: rename pHandle in wilc_mq_create
authorChaehyun Lim <chaehyun.lim@gmail.com>
Thu, 21 Jan 2016 11:30:41 +0000 (20:30 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:21:18 +0000 (15:21 -0800)
This patch renames pHandle to mq 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 d13c9a76ab92a18489a4b7b1c294d6d46f752952..453fa197738d2e20a29d73c69dcf4b18d2079d5a 100644 (file)
  *  @note              copied from FLO glue implementatuion
  *  @version           1.0
  */
-int wilc_mq_create(struct message_queue *pHandle)
+int wilc_mq_create(struct message_queue *mq)
 {
-       spin_lock_init(&pHandle->lock);
-       sema_init(&pHandle->sem, 0);
-       pHandle->msg_list = NULL;
-       pHandle->recv_count = 0;
-       pHandle->exiting = false;
+       spin_lock_init(&mq->lock);
+       sema_init(&mq->sem, 0);
+       mq->msg_list = NULL;
+       mq->recv_count = 0;
+       mq->exiting = false;
        return 0;
 }
 
index 7e7ec06b132e1a7de097f95f351c1abb2f4d569b..bfd2347e549712ada08982de1094db8d76313e2b 100644 (file)
@@ -40,7 +40,7 @@ struct message_queue {
  *  @date              30 Aug 2010
  *  @version           1.0
  */
-int wilc_mq_create(struct message_queue *pHandle);
+int wilc_mq_create(struct message_queue *mq);
 
 /*!
  *  @brief             Sends a message