From: Rafael J. Wysocki Date: Sun, 3 Mar 2013 22:18:03 +0000 (+0100) Subject: ACPI / scan: Make memory hotplug driver use struct acpi_scan_handler X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~92^2~10^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a34764411aaab0114aa3f3656fda33a69a46d10;p=pandora-kernel.git ACPI / scan: Make memory hotplug driver use struct acpi_scan_handler Make the ACPI memory hotplug driver use struct acpi_scan_handler for representing the object used to set up ACPI memory hotplug functionality and to remove hotplug memory ranges and data structures used by the driver before unregistering ACPI device nodes representing memory. Register the new struct acpi_scan_handler object with the help of acpi_scan_add_handler_with_hotplug() to allow user space to manipulate the attributes of the memory hotplug profile. This results in a significant reduction of the drvier's code size and removes some ACPI hotplug code duplication. Signed-off-by: Rafael J. Wysocki Acked-by: Toshi Kani Tested-by: Toshi Kani --- Reading git-diff-tree failed