From: Bjorn Helgaas Date: Mon, 21 Sep 2009 19:29:35 +0000 (+0000) Subject: ACPI: add acpi_bus_get_parent() and remove "parent" arguments X-Git-Tag: v2.6.32-rc1~18^2~2^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c478f499c9e6a3ac542c940f7b434686f4967a5;p=pandora-kernel.git 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 Signed-off-by: Len Brown --- Reading git-diff-tree failed