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>
ACPI / hotplug / PCI: Drop WARN_ON() from acpiphp_enumerate_slots()

The WARN_ON() in acpiphp_enumerate_slots() triggers unnecessarily for
devices whose bridges are going to be handled by native PCIe hotplug
(pciehp) and the simplest way to prevent that from happening is to
drop the WARN_ON().

References: https://bugzilla.kernel.org/show_bug.cgi?id=62831
Reported-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Merge branch 'pm-cpuidle-next' into linux-next

* pm-cpuidle-next:
  ARM: ux500: cpuidle: fix section mismatch
  ARM: zynq: cpuidle: convert to platform driver
  ARM: zynq: cpuidle: Remove useless compatibility string
  drivers: cpuidle: rename ARM big.LITTLE driver config and makefile entries
Merge branch 'pm-cpufreq-next' into linux-next

* pm-cpufreq-next:
  cpufreq: add new routine cpufreq_verify_within_cpu_limits()
  cpufreq: use cpufreq_driver->flags to mark CPUFREQ_HAVE_GOVERNOR_PER_POLICY
  cpufreq: rewrite cpufreq_driver->flags using shift operator
  cpufreq: rename __cpufreq_set_policy() as cpufreq_set_policy()
  cpufreq: Optimize cpufreq_frequency_table_verify()
  cpufreq: remove __cpufreq_remove_dev()
  cpufreq: don't break string in print statements
  cpufreq: Remove extra blank line
  cpufreq: remove invalid comment from __cpufreq_remove_dev()
  cpufreq: create per policy rwsem instead of per CPU cpu_policy_rwsem
  cpufreq: make return type of lock_policy_rwsem_{read|write}() as void
Merge branch 'acpi-pci-hotplug-next' into linux-next

* acpi-pci-hotplug-next:
  ACPI / hotplug / PCI: Drop WARN_ON() from acpiphp_enumerate_slots()
  ACPI / hotplug / PCI: Fix error code path in acpiphp_enumerate_slots()