Messages in this thread Patch in this message | | | Date | Tue, 16 May 2006 00:12:39 +0300 | From | Anssi Hannula <> | Subject | [patch 10/11] input: drop the remains of the old ff interface |
| |
Drop the now unused handlers and input_report_ff().
Signed-off-by: Anssi Hannula <anssi.hannula@gmail.com>
--- include/linux/input.h | 7 ------- 1 files changed, 7 deletions(-)
Index: linux-2.6.16-git20/include/linux/input.h =================================================================== --- linux-2.6.16-git20.orig/include/linux/input.h 2006-04-15 00:05:00.000000000 +0300 +++ linux-2.6.16-git20/include/linux/input.h 2006-04-15 00:05:41.000000000 +0300 @@ -938,8 +938,6 @@ struct input_dev { int (*accept)(struct input_dev *dev, struct file *file); int (*flush)(struct input_dev *dev, struct file *file); int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value); - int (*upload_effect)(struct input_dev *dev, struct ff_effect *effect); - int (*erase_effect)(struct input_dev *dev, int effect_id); struct input_handle *grab; @@ -1118,11 +1116,6 @@ static inline void input_report_abs(stru input_event(dev, EV_ABS, code, value); } -static inline void input_report_ff(struct input_dev *dev, unsigned int code, int value) -{ - input_event(dev, EV_FF, code, value); -} - static inline void input_report_ff_status(struct input_dev *dev, unsigned int code, int value) { input_event(dev, EV_FF_STATUS, code, value); -- Anssi Hannula - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |