Bjorn Helgaas 8e029bf0a6 ACPI: convert acpi_bus_scan() to operate on an acpi_handle
This patch changes acpi_bus_scan() to take an acpi_handle rather than an
acpi_device pointer.  I plan to use acpi_bus_scan() in the hotplug path,
and I'd rather not assume that notifications only go to nodes that already
have acpi_devices.

This will also help remove the special case for adding the root node.  We
currently add the root by hand before acpi_bus_scan(), but using a handle
here means we can start the acpi_bus_scan() directly with the root even
though it doesn't have an acpi_device yet.

Note that acpi_bus_scan() currently adds and/or starts the *children* of
its device argument.  It doesn't do anything with the device itself.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2009-09-25 14:24:28 -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