Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71635
b: refs/heads/master
c: 30c0857
h: refs/heads/master
i:
  71633: cba1fa3
  71631: 7333b78
v: v3
  • Loading branch information
Alexey Starikovskiy authored and Len Brown committed Sep 27, 2007
1 parent cb18e54 commit b686c77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8db85d4c9a0cc131242c80ef8456362d66561dc2
refs/heads/master: 30c08574da0ead1a47797ce028218ce5b2de61c7
3 changes: 1 addition & 2 deletions trunk/drivers/acpi/ec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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);
Expand Down

0 comments on commit b686c77

Please sign in to comment.