ATA / ACPI: remove power dependent device handling
authorAaron Lu <aaron.lu@intel.com>
Thu, 17 Oct 2013 13:38:53 +0000 (15:38 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 17 Oct 2013 13:38:53 +0000 (15:38 +0200)
commitb08fc109ce4a32ce2f73f6e0437abc94ab1dd023
tree306d5ad934eeb86e60cbdf52c7dcdcac913dfab6
parent41863fcee3039ec3de15003b78e7284c4393e862
ATA / ACPI: remove power dependent device handling

Previously, we wanted SCSI devices corrsponding to ATA devices to
be runtime resumed when the power resource for those ATA device was
turned on by some other device, so we added the SCSI device to the
dependent device list of the ATA device's ACPI node.  However, this
code has no effect after commit 41863fc (ACPI / power: Drop automaitc
resume of power resource dependent devices) and the mechanism it was
supposed to implement is regarded as a bad idea now, so drop it.

[rjw: Changelog]
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/ata/libata-acpi.c
drivers/ata/libata-scsi.c
drivers/ata/libata.h