From: Bjorn Helgaas Date: Mon, 21 Sep 2009 19:30:06 +0000 (+0000) Subject: ACPI: factor out device type and status checking X-Git-Tag: v2.6.32-rc1~18^2~2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=778cbc1d3abd434b6d882714630235e3711bb15b;p=pandora-kernel.git 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 Signed-off-by: Len Brown --- Reading git-diff-tree failed