summaryrefslogtreecommitdiffstats
path: root/include/linux/input.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2006-09-14 01:32:28 -0400
committerDmitry Torokhov <dtor@insightbb.com>2006-09-14 01:32:28 -0400
commit68c2a1607cd6dd12427c9566b39756e92708713c (patch)
treec3fc9a44a66f90bbdb08426886f14c664dfbaffc /include/linux/input.h
parent655816e49867082d13ece0da31d76e12cc0de4a5 (diff)
Input: remove cruft that was needed for transition to sysfs
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/input.h')
-rw-r--r--include/linux/input.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index 300036b7755..155b2bc9684 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -978,9 +978,6 @@ struct input_dev {
unsigned int users;
struct class_device cdev;
- struct device *dev; /* will be removed soon */
-
- int dynalloc; /* temporarily */
struct list_head h_list;
struct list_head node;
@@ -1093,12 +1090,6 @@ struct input_handle {
#define to_handle(n) container_of(n,struct input_handle,d_node)
#define to_handle_h(n) container_of(n,struct input_handle,h_node)
-static inline void init_input_dev(struct input_dev *dev)
-{
- INIT_LIST_HEAD(&dev->h_list);
- INIT_LIST_HEAD(&dev->node);
-}
-
struct input_dev *input_allocate_device(void);
void input_free_device(struct input_dev *dev);