ACPI: pci_root: use driver data rather than list lookup
commitcaf420c68afe01acd7c458ce40b85b3db5330ff5
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Thu, 18 Jun 2009 20:46:57 +0000 (18 14:46 -0600)
committerLen Brown <len.brown@intel.com>
Sat, 20 Jun 2009 04:01:53 +0000 (20 00:01 -0400)
tree28463c5028597e94ca6cae2af914468ff687a72d
parentf5eebbe119a861b5e4f5c67c886eab0937c686ed
ACPI: pci_root: use driver data rather than list lookup

There's no need to search the list to find the acpi_pci_root
structure.  We saved it as device->driver_data when we added
the device.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/pci_root.c