From: Rafael J. Wysocki Date: Sun, 24 Nov 2013 23:52:21 +0000 (+0100) Subject: ACPI / scan: Use direct recurrence for device hierarchy walks X-Git-Tag: v3.14-rc1~107^2~11^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c22e6520ac87d8b12d4d9941e81d4119f2d903c;p=pandora-kernel.git ACPI / scan: Use direct recurrence for device hierarchy walks Rework acpi_bus_trim() and acpi_bus_device_attach(), which is renamed as acpi_bus_attach(), to walk the list of each device object's children directly and call themselves recursively for each child instead of using acpi_walk_namespace(). This simplifies the code quite a bit and avoids the overhead of callbacks and the ACPICA's internal processing which are not really necessary for these two routines. Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed