summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-11-28 23:58:18 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-12-07 01:05:49 +0100
commit11dcc75dba5bf8b69c4612de10e366c4e04cb123 (patch)
treec6f510966339515a5758d07c60f632740b46a5d1 /drivers/acpi
parent5ce79d201358d36f13d13b01d8614bd8e646036c (diff)
downloadop-kernel-dev-11dcc75dba5bf8b69c4612de10e366c4e04cb123.zip
op-kernel-dev-11dcc75dba5bf8b69c4612de10e366c4e04cb123.tar.gz
ACPI / bind: Redefine acpi_get_child()
Since acpi_get_child() is the only user of acpi_find_child() now, drop the static inline definition of the former and redefine the latter as new acpi_get_child(). Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Aaron Lu <aaron.lu@intel.com> Tested-by: Aaron Lu <aaron.lu@intel.com> # for ATA binding
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/glue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c
index 9d200d5..12b2acb 100644
--- a/drivers/acpi/glue.c
+++ b/drivers/acpi/glue.c
@@ -150,17 +150,17 @@ struct acpi_device *acpi_find_child_device(struct acpi_device *parent,
return ret;
}
-acpi_handle acpi_find_child(acpi_handle handle, u64 addr, bool is_bridge)
+acpi_handle acpi_get_child(acpi_handle handle, u64 addr)
{
struct acpi_device *adev;
if (!handle || acpi_bus_get_device(handle, &adev))
return NULL;
- adev = acpi_find_child_device(adev, addr, is_bridge);
+ adev = acpi_find_child_device(adev, addr, false);
return adev ? adev->handle : NULL;
}
-EXPORT_SYMBOL_GPL(acpi_find_child);
+EXPORT_SYMBOL_GPL(acpi_get_child);
static void acpi_physnode_link_name(char *buf, unsigned int node_id)
{
OpenPOWER on IntegriCloud