ACPI / hotplug / PCI: Pass hotplug context objects to event handlers
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 13 Jul 2013 21:27:24 +0000 (23:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 23 Jul 2013 02:00:21 +0000 (04:00 +0200)
commitc8ebcf1ff91a8f64b09c4df0ee21ae80a953c39c
treef52cc3e0ee1c543089864d2e2cee7031f9b880f7
parented13febf8fac1a08f939f97378574937a7d2f121
ACPI / hotplug / PCI: Pass hotplug context objects to event handlers

Modify handle_hotplug_event() to pass the entire context object
(instead of its fields individually) to work functions started by it.

This change makes the subsequent consolidation of the event handling
work functions a bit more straightforward.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pci/hotplug/acpiphp_glue.c