[PATCH 1/4] ACPI / bind: Simplify child device lookups

2013-11-24 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Now that we create a struct acpi_device object for every ACPI namespace node representing a device, it is not necessary to use acpi_walk_namespace() for child device lookup in acpi_find_child() any more. Instead, we can simply walk the list of children of the given

[PATCH 1/4] ACPI / bind: Simplify child device lookups

2013-11-24 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Now that we create a struct acpi_device object for every ACPI namespace node representing a device, it is not necessary to use acpi_walk_namespace() for child device lookup in acpi_find_child() any more. Instead, we can simply walk the list of