ACPI: Move acpi_bus_get_device() from bus.c to scan.c
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 30 Jul 2013 12:38:34 +0000 (14:38 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 Aug 2013 12:12:22 +0000 (14:12 +0200)
commitcaf5c03f17c33a14ef0e7033000f89e4d0910f5a
tree865cfa34ccab254249b1b960f912aecfad47ae5e
parent62eb4b07f0803d0426eb695bfe6755dd6a2cafb2
ACPI: Move acpi_bus_get_device() from bus.c to scan.c

Move acpi_bus_get_device() from bus.c to scan.c which allows
acpi_bus_data_handler() to become static and clean up the latter.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/bus.c
drivers/acpi/scan.c
include/acpi/acpi_bus.h