Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2cc08b4f authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: rename pHandle in wilc_mq_create



This patch renames pHandle to mq to avoid camelcase

Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f9d26e21
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -11,13 +11,13 @@
 *  @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;
}

+1 −1
Original line number Diff line number Diff line
@@ -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