diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/input.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index b32c2b6e53f6..8d2b874d9e72 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -1005,6 +1005,7 @@ static inline void init_input_dev(struct input_dev *dev) | |||
1005 | } | 1005 | } |
1006 | 1006 | ||
1007 | struct input_dev *input_allocate_device(void); | 1007 | struct input_dev *input_allocate_device(void); |
1008 | void input_free_device(struct input_dev *dev); | ||
1008 | 1009 | ||
1009 | static inline struct input_dev *input_get_device(struct input_dev *dev) | 1010 | static inline struct input_dev *input_get_device(struct input_dev *dev) |
1010 | { | 1011 | { |
@@ -1016,12 +1017,6 @@ static inline void input_put_device(struct input_dev *dev) | |||
1016 | class_device_put(&dev->cdev); | 1017 | class_device_put(&dev->cdev); |
1017 | } | 1018 | } |
1018 | 1019 | ||
1019 | static inline void input_free_device(struct input_dev *dev) | ||
1020 | { | ||
1021 | if (dev) | ||
1022 | input_put_device(dev); | ||
1023 | } | ||
1024 | |||
1025 | int input_register_device(struct input_dev *); | 1020 | int input_register_device(struct input_dev *); |
1026 | void input_unregister_device(struct input_dev *); | 1021 | void input_unregister_device(struct input_dev *); |
1027 | 1022 | ||