ACPI: simplify acpi_pci_irq_del_prt() API
commitd9efae3688addb15994c9ad9761dada6f988bc14
authorAlexander Chiang <achiang@hp.com>
Wed, 10 Jun 2009 19:55:40 +0000 (10 19:55 +0000)
committerLen Brown <len.brown@intel.com>
Thu, 18 Jun 2009 03:22:16 +0000 (17 23:22 -0400)
tree6d697c2cca0aa47b6f50880682699eaca72e9197
parent859a3f86ca83346f4097e956d0b27d96aa7a1cff
ACPI: simplify acpi_pci_irq_del_prt() API

There is no need to pass a segment/bus tuple to this API, as the callsite
always has a struct pci_bus. We can derive segment/bus from the
struct pci_bus, so let's take this opportunit to simplify the API and
make life easier for the callers.

Signed-off-by: Alex Chiang <achiang@hp.com>
Acked-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/pci_bind.c
drivers/acpi/pci_irq.c
include/acpi/acpi_drivers.h