diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2009-09-21 21:30:01 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-09-25 20:24:30 +0200 |
commit | 402ac53614bce0c273c73a80339556bf56dd3d39 (patch) | |
tree | ee08b782ad49532e52712c077333ee88a042019c /drivers/acpi/scan.c | |
parent | ACPI: use acpi_walk_namespace() to enumerate devices (diff) | |
download | linux-402ac53614bce0c273c73a80339556bf56dd3d39.tar.xz linux-402ac53614bce0c273c73a80339556bf56dd3d39.zip |
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 <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/scan.c')
0 files changed, 0 insertions, 0 deletions