diff options
author | Patrick Mochel <mochel@linux.intel.com> | 2006-05-19 16:54:49 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-30 02:50:43 -0400 |
commit | 9453ece92688fedd7755d2ea54b2efe88822a91b (patch) | |
tree | ad5a986b4e8e2911ac41181a4e555cf6e163ff26 /drivers | |
parent | 1b5b8b81bddd1c5dcf690f43422e20b0e964c349 (diff) |
ACPI: acpi_memhotplug: Remove unneeded acpi_handle from driver.
Signed-off-by: Patrick Mochel <mochel@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/acpi_memhotplug.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/acpi/acpi_memhotplug.c b/drivers/acpi/acpi_memhotplug.c index a8860de2feff..97863143d21d 100644 --- a/drivers/acpi/acpi_memhotplug.c +++ b/drivers/acpi/acpi_memhotplug.c | |||
@@ -80,7 +80,6 @@ struct acpi_memory_info { | |||
80 | }; | 80 | }; |
81 | 81 | ||
82 | struct acpi_memory_device { | 82 | struct acpi_memory_device { |
83 | acpi_handle handle; | ||
84 | struct acpi_device * device; | 83 | struct acpi_device * device; |
85 | unsigned int state; /* State of the memory device */ | 84 | unsigned int state; /* State of the memory device */ |
86 | struct list_head res_list; | 85 | struct list_head res_list; |
@@ -399,7 +398,6 @@ static int acpi_memory_device_add(struct acpi_device *device) | |||
399 | memset(mem_device, 0, sizeof(struct acpi_memory_device)); | 398 | memset(mem_device, 0, sizeof(struct acpi_memory_device)); |
400 | 399 | ||
401 | INIT_LIST_HEAD(&mem_device->res_list); | 400 | INIT_LIST_HEAD(&mem_device->res_list); |
402 | mem_device->device->handle = device->handle; | ||
403 | mem_device->device = device; | 401 | mem_device->device = device; |
404 | sprintf(acpi_device_name(device), "%s", ACPI_MEMORY_DEVICE_NAME); | 402 | sprintf(acpi_device_name(device), "%s", ACPI_MEMORY_DEVICE_NAME); |
405 | sprintf(acpi_device_class(device), "%s", ACPI_MEMORY_DEVICE_CLASS); | 403 | sprintf(acpi_device_class(device), "%s", ACPI_MEMORY_DEVICE_CLASS); |