diff options
author | Liu Jinsong <jinsong.liu@intel.com> | 2012-12-16 17:08:41 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-03 16:10:21 +0400 |
commit | 8611ea5f5d708d60ab29ed3cdb33e67168404fc0 (patch) | |
tree | 4a847446cf5b1d3984b2d78aa0acd379d9802220 /drivers/auxdisplay | |
parent | 6780aa683d4d83ed887dd07b7987947d339d76f1 (diff) | |
download | linux-8611ea5f5d708d60ab29ed3cdb33e67168404fc0.tar.xz |
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 <jinsong.liu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/auxdisplay')
0 files changed, 0 insertions, 0 deletions