diff options
Diffstat (limited to 'include/linux/input.h')
| -rw-r--r-- | include/linux/input.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index 5770105471dd..c38507ba38b5 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
| @@ -953,7 +953,6 @@ struct input_dev { | |||
| 953 | unsigned int repeat_key; | 953 | unsigned int repeat_key; |
| 954 | struct timer_list timer; | 954 | struct timer_list timer; |
| 955 | 955 | ||
| 956 | struct pt_regs *regs; | ||
| 957 | int state; | 956 | int state; |
| 958 | 957 | ||
| 959 | int sync; | 958 | int sync; |
| @@ -1149,15 +1148,9 @@ static inline void input_report_switch(struct input_dev *dev, unsigned int code, | |||
| 1149 | input_event(dev, EV_SW, code, !!value); | 1148 | input_event(dev, EV_SW, code, !!value); |
| 1150 | } | 1149 | } |
| 1151 | 1150 | ||
| 1152 | static inline void input_regs(struct input_dev *dev, struct pt_regs *regs) | ||
| 1153 | { | ||
| 1154 | dev->regs = regs; | ||
| 1155 | } | ||
| 1156 | |||
| 1157 | static inline void input_sync(struct input_dev *dev) | 1151 | static inline void input_sync(struct input_dev *dev) |
| 1158 | { | 1152 | { |
| 1159 | input_event(dev, EV_SYN, SYN_REPORT, 0); | 1153 | input_event(dev, EV_SYN, SYN_REPORT, 0); |
| 1160 | dev->regs = NULL; | ||
| 1161 | } | 1154 | } |
| 1162 | 1155 | ||
| 1163 | static inline void input_set_abs_params(struct input_dev *dev, int axis, int min, int max, int fuzz, int flat) | 1156 | static inline void input_set_abs_params(struct input_dev *dev, int axis, int min, int max, int fuzz, int flat) |
