ACPI / dock: Use ACPI device object pointers instead of ACPI handles
commit3b52b21fa1f44c8956e21dfba645eda959111b5e
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 21 Feb 2014 00:10:09 +0000 (21 01:10 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 21 Feb 2014 00:10:09 +0000 (21 01:10 +0100)
tree8c6ac7f521467f66dbf55249beb25d0446ac6957
parent96075315c5e7077fc5a3ac54c9b9e97e376e66ed
ACPI / dock: Use ACPI device object pointers instead of ACPI handles

Rework the ACPI dock station driver to store ACPI device object
pointers instead of ACPI handles in its internal data structures.

The purpose is moslty to make subsequent simplifications possible,
but also this allows the overall code size to be reduced slightly.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/dock.c
drivers/pci/hotplug/acpiphp_glue.c
include/acpi/acpi_drivers.h