staging: unisys: fix CamelCase names in struct irq_info
authorBenjamin Romer <benjamin.romer@unisys.com>
Thu, 23 Oct 2014 18:30:18 +0000 (14:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Oct 2014 02:33:10 +0000 (10:33 +0800)
Fix CamelCase names in structure, and references to them:

sendInterruptHandle => send_irq_handle
recvInterruptHandle => recv_irq_handle
recvInterruptVector => recv_irq_vector
recvInterruptShared => recv_irq_shared

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h
drivers/staging/unisys/virthba/virthba.c

index 20e464e..ce628c1 100644 (file)
@@ -122,23 +122,23 @@ struct irq_info {
          *   interrupt.  Currently this is used by IOPart-SP to wake
          *   up GP when Data Channel transitions from empty to
          *   non-empty.*/
-       u64 sendInterruptHandle;
+       u64 send_irq_handle;
 
         /**< specifies interrupt handle. It is used to retrieve the
          *   corresponding interrupt pin from Monitor; and the
          *   interrupt pin is used to connect to the corresponding
          *   intrrupt.  Used by IOPart-GP only. */
-       u64 recvInterruptHandle;
+       u64 recv_irq_handle;
 
         /**< specifies interrupt vector. It, interrupt pin, and shared are
          *   used to connect to the corresponding interrupt.  Used by
          *   IOPart-GP only. */
-       u32 recvInterruptVector;
+       u32 recv_irq_vector;
 
     /**< specifies if the recvInterrupt is shared.  It, interrupt pin
      *   and vector are used to connect to 0 = not shared; 1 = shared.
      *   the corresponding interrupt.  Used by IOPart-GP only. */
-       u8 recvInterruptShared;
+       u8 recv_irq_shared;
        u8 reserved[3]; /* Natural alignment purposes */
 };
 
index 4015933..3a037f4 100644 (file)
@@ -603,16 +603,16 @@ virthba_probe(struct virtpci_dev *virtpcidev, const struct pci_device_id *id)
                return -ENODEV;
        }
        LOGINF("sendInterruptHandle=0x%16llX",
-              virthbainfo->intr.sendInterruptHandle);
+              virthbainfo->intr.send_irq_handle);
        LOGINF("recvInterruptHandle=0x%16llX",
-              virthbainfo->intr.recvInterruptHandle);
+              virthbainfo->intr.recv_irq_handle);
        LOGINF("recvInterruptVector=0x%8X",
-              virthbainfo->intr.recvInterruptVector);
+              virthbainfo->intr.recv_irq_vector);
        LOGINF("recvInterruptShared=0x%2X",
-              virthbainfo->intr.recvInterruptShared);
+              virthbainfo->intr.recv_irq_shared);
        LOGINF("scsihost.hostt->name=%s", scsihost->hostt->name);
        virthbainfo->interrupt_vector =
-           virthbainfo->intr.recvInterruptHandle & INTERRUPT_VECTOR_MASK;
+           virthbainfo->intr.recv_irq_handle & INTERRUPT_VECTOR_MASK;
        rsp = request_irq(virthbainfo->interrupt_vector, handler, IRQF_SHARED,
                          scsihost->hostt->name, virthbainfo);
        if (rsp != 0) {