ACPI / hotplug: Move container-specific code out of the core
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 22 Nov 2013 20:55:32 +0000 (21:55 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 22 Nov 2013 20:55:32 +0000 (21:55 +0100)
commit46394fd017c0615982a3d29d45ced14bea9c526d
tree403b87b00dfdb0368519ed4c52ae8f0428569310
parent3338db0057ed9f554050bd06863731c515d79672
ACPI / hotplug: Move container-specific code out of the core

Move container-specific uevents from the core hotplug code to the
container scan handler's .attach() and .detach() callbacks.

This way the core will not have to special-case containers and
the uevents will be guaranteed to happen every time a container
is either scanned or trimmed as appropriate.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/acpi/container.c
drivers/acpi/scan.c
include/acpi/acpi_bus.h