HID: Extend the interface with report requests
authorHenrik Rydberg <rydberg@euromail.se>
Mon, 25 Feb 2013 10:31:43 +0000 (11:31 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 25 Feb 2013 12:26:39 +0000 (13:26 +0100)
commite90a6df80dc45ab53d2f4f4db297434e48c0208e
treec2758516b5a1d387ac81017de45adde6f19f622a
parent48a732dfaa77a4dfec803aa8f248373998704f76
HID: Extend the interface with report requests

Some drivers send reports directly to underlying device, creating an
unwanted dependency on the underlying transport layer. This patch adds
hid_hw_request() to the interface, thereby removing usbhid from the
lion share of the drivers.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hid-core.c
include/linux/hid.h