commit | caf420c68afe01acd7c458ce40b85b3db5330ff5 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | Thu Jun 18 14:46:57 2009 -0600 |
committer | Len Brown <len.brown@intel.com> | Sat Jun 20 00:01:53 2009 -0400 |
tree | 28463c5028597e94ca6cae2af914468ff687a72d | |
parent | f5eebbe119a861b5e4f5c67c886eab0937c686ed [diff] |
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>