HID: Add input_register callback.
authorJaikumar Ganesh <jaikumarg@android.com>
Tue, 20 Sep 2011 23:40:43 +0000 (16:40 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:39:07 +0000 (21:39 -0800)
commit20232f65d99109171f6fd54bd2c02fa47f000d40
tree22229a5cac1aa56a9f67737f83ace52a65de8f60
parentc3c5c90e1c07da1e8433bbf042e8f55ef40d4ce6
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>
drivers/hid/hid-input.c
include/linux/hid.h