staging: unisys: fix CamelCase name in virthba_probe()
authorBenjamin Romer <benjamin.romer@unisys.com>
Tue, 20 Jan 2015 15:01:20 +0000 (10:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 11:59:18 +0000 (19:59 +0800)
Fix CamelCase local variable name:

pChannelHeader => channel_header

Update references to use the new name.

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

index 400bb7a54fa45172eb357d10ecba0fb92fd9af4b..ff780c9080d12de56d23d3c5770ea87d70a8a8c1 100644 (file)
@@ -463,7 +463,7 @@ virthba_probe(struct virtpci_dev *virtpcidev, const struct pci_device_id *id)
        int rsp;
        int i;
        irq_handler_t handler = virthba_isr;
-       struct channel_header __iomem *pChannelHeader;
+       struct channel_header __iomem *channel_header;
        struct signal_queue_header __iomem *pqhdr;
        u64 mask;
 
@@ -587,10 +587,10 @@ virthba_probe(struct virtpci_dev *virtpcidev, const struct pci_device_id *id)
        DBGINF("starting rsp thread -- queueinfo: 0x%p, threadinfo: 0x%p.\n",
               virthbainfo->chinfo.queueinfo, &virthbainfo->chinfo.threadinfo);
 
-       pChannelHeader = virthbainfo->chinfo.queueinfo->chan;
+       channel_header = virthbainfo->chinfo.queueinfo->chan;
        pqhdr = (struct signal_queue_header __iomem *)
-               ((char __iomem *)pChannelHeader +
-                readq(&pChannelHeader->ch_space_offset)) + IOCHAN_FROM_IOPART;
+               ((char __iomem *)channel_header +
+                readq(&channel_header->ch_space_offset)) + IOCHAN_FROM_IOPART;
        virthbainfo->flags_addr = &pqhdr->features;
 
        if (!uisthread_start(&virthbainfo->chinfo.threadinfo,