staging: unisys: Fix CamelCase in Issue_VMCALL_IO_VISORSERIAL_ADDR()
authorBenjamin Romer <benjamin.romer@unisys.com>
Tue, 30 Sep 2014 16:08:43 +0000 (12:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2014 16:49:29 +0000 (09:49 -0700)
Fix CamelCase names:
Issue_VMCALL_IO_VISORSERIAL_ADDR => issue_vmcall_io_visorserial_addr
DiagChannelAddress => channel_addr

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/uisutils.h

index d81d38d8129272884f55dca4b051fd4a059de2dd..c9d0a753600e493e5812c6e732571055f0cfb37e 100644 (file)
@@ -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(&params);
        ISSUE_IO_VMCALL(VMCALL_IO_VISORSERIAL_ADDR, physaddr, result);
        if (VMCALL_SUCCESSFUL(result))
-               *DiagChannelAddress = params.ChannelAddress;
+               *channel_addr = params.ChannelAddress;
        return result;
 }