Rafael J. Wysocki 1a699476e2 ACPI / hotplug / PCI: Hotplug notifications from acpi_bus_notify()
Since acpi_bus_notify() is executed on all notifications for all
devices anyway, make it execute acpi_device_hotplug() for all
hotplug events instead of installing notify handlers pointing to
the same function for all hotplug devices.

This change reduces both the size and complexity of ACPI-based device
hotplug code.  Moreover, since acpi_device_hotplug() only does
significant things for devices that have either an ACPI scan handler,
or a hotplug context with .eject() defined, and those devices
had notify handlers pointing to acpi_hotplug_notify_cb() installed
before anyway, this modification shouldn't change functionality.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2014-02-06 17:31:52 +01:00
..
2014-01-23 18:36:55 -08:00
2014-01-13 11:14:43 -07:00
2014-01-10 14:23:15 -07:00
2014-01-07 17:34:39 -07:00
2014-01-22 16:39:28 -08:00
2014-01-13 11:57:29 -07:00
2014-01-13 11:14:44 -07:00
2014-01-22 22:00:18 -08:00