projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cb7b1e
)
ACPI EC: remove redundant code
author
Zhang Rui
<rui.zhang@intel.com>
Tue, 26 Apr 2011 08:29:55 +0000
(16:29 +0800)
committer
Len Brown
<len.brown@intel.com>
Sun, 29 May 2011 06:59:50 +0000
(
02:59
-0400)
ec->handle is set in ec_parse_device(), so don't bother to set it again.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/ec.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/ec.c
b/drivers/acpi/ec.c
index b3f1d6f52a89f40a087a51b9fe9be56cea29ebbe..ed8cf17cf03c9ec680eabdf5ddeb0d1a7e3769b3 100644
(file)
--- a/
drivers/acpi/ec.c
+++ b/
drivers/acpi/ec.c
@@
-804,8
+804,6
@@
static int acpi_ec_add(struct acpi_device *device)
return -EINVAL;
}
- ec->handle = device->handle;
-
/* Find and register all query methods */
acpi_walk_namespace(ACPI_TYPE_METHOD, ec->handle, 1,
acpi_ec_register_query_methods, NULL, ec, NULL);