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:
8db85d4
)
ACPI: EC: Add new query handler to list head.
author
Alexey Starikovskiy
<astarikovskiy@suse.de>
Wed, 26 Sep 2007 15:43:22 +0000
(19:43 +0400)
committer
Len Brown
<len.brown@intel.com>
Thu, 27 Sep 2007 19:50:22 +0000
(15:50 -0400)
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
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 3f7935ab0cf53c0d6ca21b89096ba3c727e0e7b6..e9a04052084b47916df3632441ef72ffc15ff843 100644
(file)
--- a/
drivers/acpi/ec.c
+++ b/
drivers/acpi/ec.c
@@
-425,7
+425,7
@@
int acpi_ec_add_query_handler(struct acpi_ec *ec, u8 query_bit,
handler->func = func;
handler->data = data;
mutex_lock(&ec->lock);
- list_add
_tail
(&handler->node, &ec->list);
+ list_add(&handler->node, &ec->list);
mutex_unlock(&ec->lock);
return 0;
}
@@
-440,7
+440,6
@@
void acpi_ec_remove_query_handler(struct acpi_ec *ec, u8 query_bit)
if (query_bit == handler->query_bit) {
list_del(&handler->node);
kfree(handler);
- break;
}
}
mutex_unlock(&ec->lock);