diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2009-09-21 21:29:35 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-09-25 20:24:28 +0200 |
commit | 5c478f499c9e6a3ac542c940f7b434686f4967a5 (patch) | |
tree | e04a3e3adfc1ef854a865fa345ffbd3d488b33d0 /drivers/acpi/processor_idle.c | |
parent | ACPI: remove unnecessary argument checking (diff) | |
download | linux-5c478f499c9e6a3ac542c940f7b434686f4967a5.tar.xz linux-5c478f499c9e6a3ac542c940f7b434686f4967a5.zip |
ACPI: add acpi_bus_get_parent() and remove "parent" arguments
This patch adds acpi_bus_get_parent(), which ascends the namespace until
it finds a parent with an acpi_device.
Then we use acpi_bus_get_parent() in acpi_add_single_object(), so callers
don't have to figure out or keep track of the parent acpi_device.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
0 files changed, 0 insertions, 0 deletions