PCI Hotplug: convert acpi_pci_detect_ejectable() to take an acpi_handle
authorAlex Chiang <achiang@hp.com>
Thu, 10 Sep 2009 18:34:09 +0000 (12:34 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 14 Sep 2009 15:46:58 +0000 (08:46 -0700)
commit7f53866932fd08add06ee2f93ead129949158490
treef01520afe3708a3c79233fa67d50124f0dac6335
parent6edd7679db92376ca54f328d6b0f12291c2dab35
PCI Hotplug: convert acpi_pci_detect_ejectable() to take an acpi_handle

acpi_pci_detect_ejectable() goes through effort to convert its
struct pci_bus arg to an acpi_handle, but every time we use this
interface, we already have the handle available.

So let's just use the handle instead of converting back and forth.

Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tested-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Alex Chiang <achiang@hp.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_acpi.c
include/linux/pci_hotplug.h