]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: unisys: Fix CamelCase Issue_VMCALL_IO_DIAG_ADDR()
authorBenjamin Romer <benjamin.romer@unisys.com>
Tue, 30 Sep 2014 16:08:42 +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_DIAG_ADDR => issue_vmcall_io_diag_addr
DiagChannelAddress => diag_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 2e98f2dbe924a26504f016f54c5ffa2a5e751ff5..d81d38d8129272884f55dca4b051fd4a059de2dd 100644 (file)
@@ -237,7 +237,7 @@ issue_vmcall_io_controlvm_addr(u64 *control_addr, u32 *control_bytes)
        return result;
 }
 
-static inline unsigned int Issue_VMCALL_IO_DIAG_ADDR(u64 *DiagChannelAddress)
+static inline unsigned int issue_vmcall_io_diag_addr(u64 *diag_channel_addr)
 {
        VMCALL_IO_DIAG_ADDR_PARAMS params;
        int result = VMCALL_SUCCESS;
@@ -246,7 +246,7 @@ static inline unsigned int Issue_VMCALL_IO_DIAG_ADDR(u64 *DiagChannelAddress)
        physaddr = virt_to_phys(&params);
        ISSUE_IO_VMCALL(VMCALL_IO_DIAG_ADDR, physaddr, result);
        if (VMCALL_SUCCESSFUL(result))
-               *DiagChannelAddress = params.ChannelAddress;
+               *diag_channel_addr = params.ChannelAddress;
        return result;
 }