PCI hotplug: clean up acpi_get_hp_params_from_firmware() interface
commit6a29172ba90e49c046245610caff9848307bfd6a
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 14 Sep 2009 22:35:15 +0000 (14 16:35 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 15 Sep 2009 00:38:26 +0000 (14 17:38 -0700)
tree41911e0b90cb6bec026f9eb2d4cc5e0f914afa75
parentfca6825ad7382ae9df8ecda9068ac13ee9e343f4
PCI hotplug: clean up acpi_get_hp_params_from_firmware() interface

This patch makes acpi_get_hp_params_from_firmware() take a
pci_dev rather than a pci_bus and makes it return a standard
int errno rather than acpi_status.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Acked-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/acpi_pcihp.c
drivers/pci/hotplug/acpiphp_glue.c
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/shpchp.h
include/linux/pci_hotplug.h