From 8359367ed9373a69343c5b97b5f4beef636635ca Mon Sep 17 00:00:00 2001 From: Benjamin Romer Date: Tue, 30 Sep 2014 12:08:43 -0400 Subject: [PATCH] staging: unisys: Fix CamelCase in Issue_VMCALL_IO_VISORSERIAL_ADDR() Fix CamelCase names: Issue_VMCALL_IO_VISORSERIAL_ADDR => issue_vmcall_io_visorserial_addr DiagChannelAddress => channel_addr Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- drivers/staging/unisys/include/uisutils.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/unisys/include/uisutils.h b/drivers/staging/unisys/include/uisutils.h index d81d38d81292..c9d0a753600e 100644 --- a/drivers/staging/unisys/include/uisutils.h +++ b/drivers/staging/unisys/include/uisutils.h @@ -250,8 +250,7 @@ static inline unsigned int issue_vmcall_io_diag_addr(u64 *diag_channel_addr) return result; } -static inline unsigned int -Issue_VMCALL_IO_VISORSERIAL_ADDR(u64 *DiagChannelAddress) +static inline unsigned int issue_vmcall_io_visorserial_addr(u64 *channel_addr) { VMCALL_IO_VISORSERIAL_ADDR_PARAMS params; int result = VMCALL_SUCCESS; @@ -260,7 +259,7 @@ Issue_VMCALL_IO_VISORSERIAL_ADDR(u64 *DiagChannelAddress) physaddr = virt_to_phys(¶ms); ISSUE_IO_VMCALL(VMCALL_IO_VISORSERIAL_ADDR, physaddr, result); if (VMCALL_SUCCESSFUL(result)) - *DiagChannelAddress = params.ChannelAddress; + *channel_addr = params.ChannelAddress; return result; } -- 2.20.1