Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37905
b: refs/heads/master
c: 655816e
h: refs/heads/master
i:
  37903: b942be7
v: v3
  • Loading branch information
Dmitry Torokhov committed Sep 14, 2006
1 parent 2d42c60 commit 461085a
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 66e66118837ed95a299328437c2d9fb4b5137352
refs/heads/master: 655816e49867082d13ece0da31d76e12cc0de4a5
4 changes: 2 additions & 2 deletions trunk/drivers/input/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,8 @@ struct input_dev *input_allocate_device(void)
mutex_init(&dev->mutex);
INIT_LIST_HEAD(&dev->h_list);
INIT_LIST_HEAD(&dev->node);

__module_get(THIS_MODULE);
}

return dev;
Expand Down Expand Up @@ -985,8 +987,6 @@ int input_register_device(struct input_dev *dev)
if (error)
goto fail3;

__module_get(THIS_MODULE);

path = kobject_get_path(&dev->cdev.kobj, GFP_KERNEL);
printk(KERN_INFO "input: %s as %s\n",
dev->name ? dev->name : "Unspecified device", path ? path : "N/A");
Expand Down

0 comments on commit 461085a

Please sign in to comment.