From: Bjorn Helgaas Date: Mon, 21 Sep 2009 19:30:01 +0000 (+0000) Subject: ACPI: add acpi_bus_get_status_handle() X-Git-Tag: v2.6.32-rc1~18^2~2^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=402ac53614bce0c273c73a80339556bf56dd3d39;p=pandora-kernel.git ACPI: add acpi_bus_get_status_handle() Add acpi_bus_get_status_handle() so we can get the status of a namespace object before building a struct acpi_device. This removes a use of "device->flags.dynamic_status", a cached indicator of whether _STA exists. It seems simpler and more reliable to just evaluate _STA and catch AE_NOT_FOUND errors. Signed-off-by: Bjorn Helgaas Signed-off-by: Len Brown --- Reading git-diff-tree failed