ACPI / hotplug / PCI: Fix error code path in acpiphp_enumerate_slots()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 11 Oct 2013 11:20:50 +0000 (13:20 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 11 Oct 2013 23:47:43 +0000 (01:47 +0200)
commit5d4494573c1fed806b97c2a1ba619d50bb89d1ed
treeab72fc515b579ccdd09655093c0930621ce90444
parentd0e639c9e06d44e713170031fe05fb60ebe680af
ACPI / hotplug / PCI: Fix error code path in acpiphp_enumerate_slots()

One of the error code paths in acpiphp_enumerate_slots() is missing
a pci_dev_put(bridge->pci_dev) call, so add it.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/acpiphp_glue.c