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)
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>

No differences found