Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25059
b: refs/heads/master
c: 493a7e0
h: refs/heads/master
i:
  25057: 549ffaa
  25055: 50f90d7
v: v3
  • Loading branch information
Dmitry Torokhov committed Mar 14, 2006
1 parent cbc2bc7 commit 283da94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 58a343f22e8ef987b90e34bbef7f1455e3bb5a15
refs/heads/master: 493a7e0d5614c30e1f3e56d59ab774300a2609f2
12 changes: 6 additions & 6 deletions trunk/include/linux/input.h
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ struct input_absinfo {
#define BTN_GEAR_UP 0x151

#define KEY_OK 0x160
#define KEY_SELECT 0x161
#define KEY_SELECT 0x161
#define KEY_GOTO 0x162
#define KEY_CLEAR 0x163
#define KEY_POWER2 0x164
Expand Down Expand Up @@ -995,11 +995,6 @@ static inline void init_input_dev(struct input_dev *dev)

struct input_dev *input_allocate_device(void);

static inline void input_free_device(struct input_dev *dev)
{
kfree(dev);
}

static inline struct input_dev *input_get_device(struct input_dev *dev)
{
return to_input_dev(class_device_get(&dev->cdev));
Expand All @@ -1010,6 +1005,11 @@ static inline void input_put_device(struct input_dev *dev)
class_device_put(&dev->cdev);
}

static inline void input_free_device(struct input_dev *dev)
{
input_put_device(dev);
}

int input_register_device(struct input_dev *);
void input_unregister_device(struct input_dev *);

Expand Down

0 comments on commit 283da94

Please sign in to comment.