Commit 1f734cb4 authored by Anssi Hannula's avatar Anssi Hannula Committed by Dmitry Torokhov

Input: drop remnants of the old force-feedback interface

Signed-off-by: default avatarAnssi Hannula <anssi.hannula@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent ff462551
...@@ -870,7 +870,6 @@ struct input_dev { ...@@ -870,7 +870,6 @@ struct input_dev {
unsigned long sndbit[NBITS(SND_MAX)]; unsigned long sndbit[NBITS(SND_MAX)];
unsigned long ffbit[NBITS(FF_MAX)]; unsigned long ffbit[NBITS(FF_MAX)];
unsigned long swbit[NBITS(SW_MAX)]; unsigned long swbit[NBITS(SW_MAX)];
int ff_effects_max;
unsigned int keycodemax; unsigned int keycodemax;
unsigned int keycodesize; unsigned int keycodesize;
...@@ -903,8 +902,6 @@ struct input_dev { ...@@ -903,8 +902,6 @@ struct input_dev {
void (*close)(struct input_dev *dev); void (*close)(struct input_dev *dev);
int (*flush)(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 (*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; struct input_handle *grab;
...@@ -1078,11 +1075,6 @@ static inline void input_report_abs(struct input_dev *dev, unsigned int code, in ...@@ -1078,11 +1075,6 @@ static inline void input_report_abs(struct input_dev *dev, unsigned int code, in
input_event(dev, EV_ABS, code, value); 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) static inline void input_report_ff_status(struct input_dev *dev, unsigned int code, int value)
{ {
input_event(dev, EV_FF_STATUS, code, value); input_event(dev, EV_FF_STATUS, code, value);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment