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)
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

Simple merge
Simple merge
Simple merge
Simple merge