commit | 9065ce4500085b9ca66b19d3c4d21a73cb410173 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | Tue Nov 17 17:05:19 2009 -0700 |
committer | Len Brown <len.brown@intel.com> | Tue Dec 15 17:35:26 2009 -0500 |
tree | c487e3f9b3b56cc829ea2362a33b888a42d83f8f | |
parent | c4da6940a7a41c72781ff2d62ebd4b99f3749f14 [diff] |
PNP: add interface to retrieve ACPI device from a PNPACPI device Add pnp_acpi_device(pnp_dev), which takes a PNP device and returns the associated ACPI device (or NULL, if the device is not a PNPACPI device). This allows us to write a PNP driver that can manage both traditional PNPBIOS and ACPI devices, treating ACPI-only functionality as an optional extension. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>