HID: Add input_register callback.
authorJaikumar Ganesh <jaikumarg@android.com>
Tue, 20 Sep 2011 23:40:43 +0000 (16:40 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:40:37 +0000 (13:40 -0700)
commit5925993fe56e1a4ddb26d2085fdd16f6a6153365
treece4ce08a6a0447f72fdf045d6ecbe2fc673c34da
parente584105db8de7ff57c8a4d6c8e2d2efa4827b7bb
HID: Add input_register callback.

Add input_register callback which gets called after
hid_configure_usage is called for all the reports
and before the input device is registered. This allows
individual drivers to do extra work like input mapping just
before device registration.

Based on discussions with David Herrmann <dh.herrmann@googlemail.com>

Change-Id: Idab6fb4f7b1e5e569bd0410967288717e9d34c98
Signed-off-by: Jaikumar Ganesh <jaikumarg@android.com>
Changed to add return code to input_configured instead of
adding input_register

Signed-off-by: Arve Hjønnevåg <arve@android.com>
drivers/hid/hid-input.c
drivers/hid/hid-multitouch.c
include/linux/hid.h