projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
432bfab
)
ACPI: power: Remove unneeded acpi_handle from driver.
author
Patrick Mochel
<mochel@linux.intel.com>
Fri, 19 May 2006 20:54:51 +0000
(16:54 -0400)
committer
Len Brown
<len.brown@intel.com>
Fri, 30 Jun 2006 06:51:37 +0000
(
02:51
-0400)
Signed-off-by: Patrick Mochel <mochel@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/power.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/power.c
b/drivers/acpi/power.c
index 214428948cc1fa23adfd2e4559f246e6149c5dd9..5d3447f4582ce797b2439b5a347e1ede7041066c 100644
(file)
--- a/
drivers/acpi/power.c
+++ b/
drivers/acpi/power.c
@@
-70,7
+70,6
@@
static struct acpi_driver acpi_power_driver = {
};
struct acpi_power_resource {
- acpi_handle handle;
struct acpi_device * device;
acpi_bus_id name;
u32 system_level;
@@
-541,7
+540,6
@@
static int acpi_power_add(struct acpi_device *device)
return -ENOMEM;
memset(resource, 0, sizeof(struct acpi_power_resource));
- resource->handle = device->handle;
resource->device = device;
strcpy(resource->name, device->pnp.bus_id);
strcpy(acpi_device_name(device), ACPI_POWER_DEVICE_NAME);