[Resend][PATCH 2/5][RFT] ACPI / hotplug: Introduce acpi_install_hotplug_notify_handler()

2014-01-28 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Introduce a helper routine for installing acpi_hotplug_notify_cb() as an ACPI notify handler for the given ACPI namespace node and make acpi_scan_init_hotplug() use it. This is to make subsequent changes easier to follow. Signed-off-by: Rafael J. Wysocki --- drivers/ac

[PATCH 2/5][RFT] ACPI / hotplug: Introduce acpi_install_hotplug_notify_handler()

2014-01-28 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Introduce a helper routine for installing acpi_hotplug_notify_cb() as an ACPI notify handler for the given ACPI namespace node and make acpi_scan_init_hotplug() use it. This is to make subsequent changes easier to follow. Signed-off-by: Rafael J. Wysocki --- drivers/ac