projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b5b8b8
)
ACPI: acpi_memhotplug: Remove unneeded acpi_handle from driver.
author
Patrick Mochel
<mochel@linux.intel.com>
Fri, 19 May 2006 20:54:49 +0000
(16:54 -0400)
committer
Len Brown
<len.brown@intel.com>
Fri, 30 Jun 2006 06:50:43 +0000
(
02:50
-0400)
Signed-off-by: Patrick Mochel <mochel@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/acpi_memhotplug.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/acpi_memhotplug.c
b/drivers/acpi/acpi_memhotplug.c
index a8860de2feff5260cb49b9caa6ebd8c2563a46be..97863143d21d2c030fc77b6d71c8911d71feb14f 100644
(file)
--- a/
drivers/acpi/acpi_memhotplug.c
+++ b/
drivers/acpi/acpi_memhotplug.c
@@
-80,7
+80,6
@@
struct acpi_memory_info {
};
struct acpi_memory_device {
- acpi_handle handle;
struct acpi_device * device;
unsigned int state; /* State of the memory device */
struct list_head res_list;
@@
-399,7
+398,6
@@
static int acpi_memory_device_add(struct acpi_device *device)
memset(mem_device, 0, sizeof(struct acpi_memory_device));
INIT_LIST_HEAD(&mem_device->res_list);
- mem_device->device->handle = device->handle;
mem_device->device = device;
sprintf(acpi_device_name(device), "%s", ACPI_MEMORY_DEVICE_NAME);
sprintf(acpi_device_class(device), "%s", ACPI_MEMORY_DEVICE_CLASS);