From: Bjorn Helgaas Date: Wed, 18 Nov 2009 00:05:19 +0000 (-0700) Subject: PNP: add interface to retrieve ACPI device from a PNPACPI device X-Git-Tag: v2.6.33-rc1~47^2~6^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9065ce4500085b9ca66b19d3c4d21a73cb410173;p=pandora-kernel.git 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 Signed-off-by: Len Brown --- Reading git-diff-tree failed