PCI hotplug: pciehp: Fixed return value sign for pciehp_unconfigure_device

pciehp_unconfigure_device() should return -EINVAL, not EINVAL.

Signed-off-by: Praveen Kalamegham <praveen@nextio.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
Praveen Kalamegham 2010-05-20 15:32:22 -05:00 committed by Jesse Barnes
parent 41cd766b06
commit 01b666df48
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ int pciehp_unconfigure_device(struct slot *p_slot)
"Cannot remove display device %s\n",
pci_name(temp));
pci_dev_put(temp);
rc = EINVAL;
rc = -EINVAL;
break;
}
}