HID: uhid: use generic hidinput_input_event()
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 15 Jul 2013 17:10:15 +0000 (19:10 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 31 Jul 2013 08:33:05 +0000 (10:33 +0200)
commitbdb829e1dd710029a075b5f86d4053e7715beb06
tree8cb82ceb65bf40e4966cea99d4a29576ae24e8b8
parentac126f46cbab355d045772c1ecce899b683b2745
HID: uhid: use generic hidinput_input_event()

HID core provides the same functionality and can convert the input event
to a raw output report. We can thus drop UHID_OUTPUT_EV and rely on the
mandatory UHID_OUTPUT.

User-space wasn't able to do anything with UHID_OUTPUT_EV, anyway. They
don't have access to the report fields.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/hid/uhid.txt
drivers/hid/uhid.c
include/uapi/linux/uhid.h