From: Liu Jinsong Date: Sun, 16 Dec 2012 13:08:41 +0000 (+0100) Subject: ACPI / memhotplug: remove redundant logic of acpi memory hotadd X-Git-Tag: v3.8-rc3~9^2~4^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8611ea5f5d708d60ab29ed3cdb33e67168404fc0;p=pandora-kernel.git ACPI / memhotplug: remove redundant logic of acpi memory hotadd When memory hotadd, acpi_memory_enable_device has already been done at drv->ops.add (acpi_memory_device_add), no need to do it again at notify callback. At acpi_memory_enable_device, acpi_memory_get_device_resources is also a redundant action, since it has been done at drv->ops.add. Signed-off-by: Liu Jinsong Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed