ACPI / bind: Pass struct acpi_device pointer to acpi_bind_one()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 29 Nov 2013 15:27:43 +0000 (16:27 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 7 Dec 2013 00:05:50 +0000 (01:05 +0100)
commit24dee1fc99fd6d38fc859d7f6dda1dab21493bef
tree1377d90f45c045fdae001a580008cddcb03e4c8d
parente3f02c5228c4b600abf6ca243301176f25553bd5
ACPI / bind: Pass struct acpi_device pointer to acpi_bind_one()

There is no reason to pass an ACPI handle to acpi_bind_one() instead
of a struct acpi_device pointer to the target device object, so
modify that function to take a struct acpi_device pointer as its
second argument and update all code depending on it accordingly.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Lan Tianyu <tianyu.lan@intel.com> # for USB/ACPI
drivers/acpi/acpi_memhotplug.c
drivers/acpi/acpi_processor.c
drivers/acpi/glue.c
drivers/acpi/internal.h