Bjorn Helgaas 51a85faf2d ACPI: use acpi_walk_namespace() to enumerate devices
acpi_bus_scan() currently walks the namespace manually.  This patch changes
it to use acpi_walk_namespace() instead.

Besides removing some complicated code, this means we take advantage of the
namespace locking done by acpi_walk_namespace().  The locking isn't so
important at boot-time, but I hope to eventually use this same path to
handle hot-addition of devices, when it will be important.

Note that acpi_walk_namespace() does not actually visit the starting node
first, so we need to do that by hand first.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2009-09-25 14:24:30 -04:00
..
2009-09-22 07:17:27 -07:00
2009-09-24 21:22:33 +01:00
2009-09-23 07:39:29 -07:00
2009-09-24 07:21:05 -07:00
2009-09-24 21:22:33 +01:00
2009-09-23 07:39:43 -07:00
2009-09-24 21:22:33 +01:00
2009-09-23 18:13:10 -07:00
2009-09-23 07:39:29 -07:00
2009-09-15 15:08:40 -04:00
2009-09-24 21:22:33 +01:00
2009-09-23 11:35:41 -04:00
2009-09-24 21:22:33 +01:00
2009-09-23 22:26:32 +09:30
2009-09-23 10:07:49 -07:00