summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug-pci.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-11-25 00:52:21 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-11-25 00:52:21 +0100
commit2c22e6520ac87d8b12d4d9941e81d4119f2d903c (patch)
tree1c213ad56029c90ca38943ffdba091cff1aecded /drivers/pci/hotplug-pci.c
parentACPI: Introduce acpi_set_device_status() (diff)
downloadlinux-2c22e6520ac87d8b12d4d9941e81d4119f2d903c.tar.xz
linux-2c22e6520ac87d8b12d4d9941e81d4119f2d903c.zip
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 <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/pci/hotplug-pci.c')
0 files changed, 0 insertions, 0 deletions