PCI: cpqphp: Add missing call to pci_disable_device()
authorQuentin Lambert <lambert.quentin@gmail.com>
Sat, 19 Nov 2016 17:41:48 +0000 (18:41 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 23 Nov 2016 22:54:32 +0000 (16:54 -0600)
commitb11d207fb229943d75c17cef4ae3fa980f0cee79
tree5f4a9714c94e60804d1122a92be1373d83391666
parent1001354ca34179f3db924eb66672442a173147dc
PCI: cpqphp: Add missing call to pci_disable_device()

Most error branches following the call to pci_enable_device() contain a
call to pci_disable_device().  Add these calls where they are missing.

This issue was found with Hector.

Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/cpqphp_core.c