staging: unisys: virtpci: Fix CamelCase in delete_vbus_device()
authorBryan Thompson <bryan.thompson@unisys.com>
Mon, 3 Nov 2014 19:21:07 +0000 (14:21 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Nov 2014 00:03:37 +0000 (16:03 -0800)
Rename pDev to dev in delete_vbus_device()

Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/virtpci/virtpci.c

index a299b32..b6e508f 100644 (file)
@@ -430,9 +430,9 @@ static int
 delete_vbus_device(struct device *vbus, void *data)
 {
        int checkforroot = (data != NULL);
-       struct device *pDev = &virtpci_rootbus_device;
+       struct device *dev = &virtpci_rootbus_device;
 
-       if ((checkforroot) && match_busid(vbus, (void *)BUS_ID(pDev))) {
+       if ((checkforroot) && match_busid(vbus, (void *)BUS_ID(dev))) {
                /* skip it - don't delete root bus */
                LOGINF("skipping root bus\n");
                return 0;       /* pretend no error */