HID: Add an input configured notification callback
authorHenrik Rydberg <rydberg@euromail.se>
Mon, 30 Jul 2012 11:28:18 +0000 (13:28 +0200)
committerHenrik Rydberg <rydberg@euromail.se>
Wed, 19 Sep 2012 17:50:20 +0000 (19:50 +0200)
commit9ebf3d7687192923e3d44fdbcd8d9f8375053fb8
tree6973ce11e93dc97c3d5766bbc8f8b45814c0688e
parent22739293402966db7ca3eb0148632d986fe30465
HID: Add an input configured notification callback

A hid device may create several input devices, and a driver may need
to prepare or finalize the configuration per input device. Currently,
there is no sane way for a driver to know when a device has been
configured. This patch adds a callback providing that information.

Reviewed-and-tested-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Tested-by: Ping Cheng <pingc@wacom.com>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
drivers/hid/hid-input.c
include/linux/hid.h