From: Benjamin Romer Date: Tue, 30 Sep 2014 16:07:54 +0000 (-0400) Subject: staging: unisys: fix CamelCase in uisqueue_put_cmdrsp_with_lock_client X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=21f8c6b845e4dda0f456a0ec159455540f5376c7;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: unisys: fix CamelCase in uisqueue_put_cmdrsp_with_lock_client Clean up CamelCase names: issueInterruptIfEmpty => issue_irq_if_empty interruptHandle => irq_handle Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/include/uisqueue.h b/drivers/staging/unisys/include/uisqueue.h index 19e2b5573b74..77a2a73c06f2 100644 --- a/drivers/staging/unisys/include/uisqueue.h +++ b/drivers/staging/unisys/include/uisqueue.h @@ -91,10 +91,10 @@ int uisqueue_put_cmdrsp_with_lock_client(struct uisqueue_info *queueinfo, struct uiscmdrsp *cmdrsp, unsigned int queue, void *insertlock, - unsigned char issueInterruptIfEmpty, - u64 interruptHandle, + unsigned char issue_irq_if_empty, + u64 irq_handle, char oktowait, - u8 *channelId); + u8 *channel_id); /* uisqueue_get_cmdrsp gets the cmdrsp entry at the head of the queue * and copies it to the area pointed by cmdrsp param. diff --git a/drivers/staging/unisys/uislib/uisqueue.c b/drivers/staging/unisys/uislib/uisqueue.c index b24a78e6ae72..44208841bd5a 100644 --- a/drivers/staging/unisys/uislib/uisqueue.c +++ b/drivers/staging/unisys/uislib/uisqueue.c @@ -98,14 +98,14 @@ uisqueue_put_cmdrsp_with_lock_client(struct uisqueue_info *queueinfo, struct uiscmdrsp *cmdrsp, unsigned int whichqueue, void *insertlock, - unsigned char issueInterruptIfEmpty, - u64 interruptHandle, - char oktowait, u8 *channelId) + unsigned char issue_irq_if_empty, + u64 irq_handle, + char oktowait, u8 *channel_id) { while (!do_locked_client_insert(queueinfo, whichqueue, cmdrsp, (spinlock_t *) insertlock, - issueInterruptIfEmpty, - interruptHandle, channelId)) { + issue_irq_if_empty, + irq_handle, channel_id)) { if (oktowait != OK_TO_WAIT) { LOGERR("****FAILED visor_signal_insert failed; cannot wait; insert aborted\n"); return 0; /* failed to queue */