Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10569
b: refs/heads/master
c: 1020402
h: refs/heads/master
i:
  10567: 5c6c102
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 28, 2005
1 parent 224b16e commit 18443d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 5c1e9a6a6ab2f4c60462cecb7773860a62d86e39
refs/heads/master: 102040204f1949562406b72007c14a2a241cb0d9
6 changes: 3 additions & 3 deletions trunk/drivers/input/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -795,16 +795,16 @@ void input_register_device(struct input_dev *dev)
INIT_LIST_HEAD(&dev->h_list);
list_add_tail(&dev->node, &input_dev_list);

if (dev->dynalloc)
input_register_classdevice(dev);

list_for_each_entry(handler, &input_handler_list, node)
if (!handler->blacklist || !input_match_device(handler->blacklist, dev))
if ((id = input_match_device(handler->id_table, dev)))
if ((handle = handler->connect(handler, dev, id)))
input_link_handle(handle);


if (dev->dynalloc)
input_register_classdevice(dev);

#ifdef CONFIG_HOTPLUG
input_call_hotplug("add", dev);
#endif
Expand Down

0 comments on commit 18443d2

Please sign in to comment.