ACPI / ATA: Add hotplug contexts to ACPI companions of SATA devices
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 21 Feb 2014 23:48:31 +0000 (00:48 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 21 Feb 2014 23:48:31 +0000 (00:48 +0100)
commit5d5132059a1f652de9dc2d62a8ff15561e648d11
tree50b8d40bcdc23aa66a64db90c733160a0e565867
parentbe27b3dcb02335ec093b81053fc8c84b32d3106e
ACPI / ATA: Add hotplug contexts to ACPI companions of SATA devices

Modify the SATA subsystem to add hotplug contexts to ACPI companions
of SATA devices and ports instead of registering special ACPI dock
operations using register_hotplug_dock_device().

That change will allow the entire code handling those special ACPI
dock operations to be dropped in the next commit.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Aaron Lu <aaron.lu@intel.com>
Acked-by: Tejun Heo <tj@kernel.org>
drivers/acpi/scan.c
drivers/ata/libata-acpi.c
include/acpi/acpi_bus.h