Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 865cde93 authored by Bryan Thompson's avatar Bryan Thompson Committed by Greg Kroah-Hartman
Browse files

staging: unisys: virtpci: Fix CamelCase in delete_vbus_device()



Rename pDev to dev in delete_vbus_device()

Signed-off-by: default avatarBryan Thompson <bryan.thompson@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 57fd9199
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 */