staging: unisys: Fix CamelCase in uislib_client_inject_add_vhba()
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 3 Oct 2014 18:09:01 +0000 (14:09 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:05 +0000 (10:29 +0800)
Clean up CamelCase names:
busNo => bus_no
devNo => dev_no
instGuid => inst_uuid

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

index 4610b4ffca29a240382afd1d580824f2439b4970..8ed82c4bd6e7226d8049a5af05ba72ef12421d10 100644 (file)
@@ -136,9 +136,9 @@ int uislib_client_inject_add_bus(u32 bus_no, uuid_le inst_uuid,
                                 u64 channel_addr, ulong n_channel_bytes);
 int  uislib_client_inject_del_bus(u32 bus_no);
 
-int uislib_client_inject_add_vhba(u32 busNo, u32 devNo,
+int uislib_client_inject_add_vhba(u32 bus_no, u32 dev_no,
                                  u64 phys_chan_addr, u32 chan_bytes,
-                                 int is_test_addr, uuid_le instGuid,
+                                 int is_test_addr, uuid_le inst_uuid,
                                  struct InterruptInfo *intr);
 int  uislib_client_inject_pause_vhba(u32 busNo, u32 devNo);
 int  uislib_client_inject_resume_vhba(u32 busNo, u32 devNo);
index 4d85a327fb7c9d8a46bb2458ee973590ca951d5d..9f62462f9966f64c6137b1dfd894713ffdae3937 100644 (file)
@@ -922,19 +922,19 @@ uislib_client_inject_resume_vhba(u32 busNo, u32 devNo)
 EXPORT_SYMBOL_GPL(uislib_client_inject_resume_vhba);
 
 int
-uislib_client_inject_add_vhba(u32 busNo, u32 devNo,
+uislib_client_inject_add_vhba(u32 bus_no, u32 dev_no,
                              u64 phys_chan_addr, u32 chan_bytes,
-                             int is_test_addr, uuid_le instGuid,
+                             int is_test_addr, uuid_le inst_uuid,
                              struct InterruptInfo *intr)
 {
        CONTROLVM_MESSAGE msg;
 
-       LOGINF(" enter busNo=0x%x devNo=0x%x\n", busNo, devNo);
+       LOGINF(" enter busNo=0x%x devNo=0x%x\n", bus_no, dev_no);
        /* chipset init'ed with bus bus has been previously created -
        * Verify it still exists step 2: create the VHBA device on the
        * bus
        */
-       POSTCODE_LINUX_4(VHBA_CREATE_ENTRY_PC, devNo, busNo,
+       POSTCODE_LINUX_4(VHBA_CREATE_ENTRY_PC, dev_no, bus_no,
                         POSTCODE_SEVERITY_INFO);
 
        init_msg_header(&msg, CONTROLVM_DEVICE_CREATE, 0, 0);
@@ -943,9 +943,9 @@ uislib_client_inject_add_vhba(u32 busNo, u32 devNo,
                 * need to be ioremap()ed
                 */
                msg.hdr.Flags.testMessage = 1;
-       msg.cmd.createDevice.busNo = busNo;
-       msg.cmd.createDevice.devNo = devNo;
-       msg.cmd.createDevice.devInstGuid = instGuid;
+       msg.cmd.createDevice.busNo = bus_no;
+       msg.cmd.createDevice.devNo = dev_no;
+       msg.cmd.createDevice.devInstGuid = inst_uuid;
        if (intr)
                msg.cmd.createDevice.intr = *intr;
        else
@@ -963,11 +963,11 @@ uislib_client_inject_add_vhba(u32 busNo, u32 devNo,
        msg.cmd.createDevice.dataTypeGuid = UltraVhbaChannelProtocolGuid;
        if (create_device(&msg, NULL) != CONTROLVM_RESP_SUCCESS) {
                LOGERR("VHBA create_device failed.\n");
-               POSTCODE_LINUX_4(VHBA_CREATE_FAILURE_PC, devNo, busNo,
+               POSTCODE_LINUX_4(VHBA_CREATE_FAILURE_PC, dev_no, bus_no,
                                 POSTCODE_SEVERITY_ERR);
                return 0;
        }
-       POSTCODE_LINUX_4(VHBA_CREATE_SUCCESS_PC, devNo, busNo,
+       POSTCODE_LINUX_4(VHBA_CREATE_SUCCESS_PC, dev_no, bus_no,
                         POSTCODE_SEVERITY_INFO);
        return 1;
 }