commit | 778cbc1d3abd434b6d882714630235e3711bb15b | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | Mon Sep 21 19:30:06 2009 +0000 |
committer | Len Brown <len.brown@intel.com> | Fri Sep 25 14:24:31 2009 -0400 |
tree | 5a81030166825fabf4a2e81bf9a7f5440133c3d8 | |
parent | 402ac53614bce0c273c73a80339556bf56dd3d39 [diff] |
ACPI: factor out device type and status checking This patch adds acpi_bus_type_and_status(), which determines the type of the object and whether we want to build an acpi_device for it. If it is acpi_device-worthy, it returns the type and the device's current status. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>