ACPI / hotplug / PCI: Rework namespace scanning and trimming routines
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 13 Jul 2013 21:27:25 +0000 (23:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 23 Jul 2013 02:00:24 +0000 (04:00 +0200)
commit236e26245a6a437c4afbf33a5ad94cf61d1a7a7c
tree2c8601200ae9dc7e3ee8387c287145b28f97c2f1
parentbda46dbb6626c923a800b4033c86fefa613cd64c
ACPI / hotplug / PCI: Rework namespace scanning and trimming routines

The acpiphp_bus_trim() and acpiphp_bus_add() functions need not
return error codes that are never checked, so redefine them and
simplify them a bit.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pci/hotplug/acpiphp_glue.c