ACPI: Add _OST support for ACPI container hotplug
authorToshi Kani <toshi.kani@hp.com>
Thu, 24 May 2012 02:25:23 +0000 (20:25 -0600)
committerLen Brown <len.brown@intel.com>
Mon, 4 Jun 2012 05:09:22 +0000 (01:09 -0400)
commit0c67dc242cf73b9c99a05bfd0122fc9ba1970d37
tree004cde133fa98f3b0a5e3a41575c3722a71befd7
parentb1f00de66f8809b451a33ce47e461ef0e33c09e8
ACPI: Add _OST support for ACPI container hotplug

Changed container_notify_cb() to call ACPI _OST method when ACPI
container hotplug operation has completed. Slightly restructured
the code with the same logic. The function sets eject_pending bit
for an eject request since it does not initiate hot-remove operation.
This bit is checked by the sysfs eject handler to determine if the
request is originated from an ACPI eject notification.

Signed-off-by: Toshi Kani <toshi.kani@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/container.c