ACPI / bind: Redefine acpi_get_child()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 28 Nov 2013 22:58:18 +0000 (23:58 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 7 Dec 2013 00:05:49 +0000 (01:05 +0100)
commit11dcc75dba5bf8b69c4612de10e366c4e04cb123
treec6f510966339515a5758d07c60f632740b46a5d1
parent5ce79d201358d36f13d13b01d8614bd8e646036c
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
drivers/acpi/glue.c
include/acpi/acpi_bus.h