HID: Add input_register callback.
authorJaikumar Ganesh <jaikumarg@android.com>
Tue, 20 Sep 2011 23:40:43 +0000 (16:40 -0700)
committerJaikumar Ganesh <jaikumarg@android.com>
Wed, 21 Sep 2011 20:47:49 +0000 (13:47 -0700)
commit8bf44e90c8952b7c9b77ae14198c1dceba8949a4
tree2cde85aff5ccad9c0b2c19d1f20ba2069d61a805
parent0eb5aac3aac77dfc78652ebbecaeb27d887781fc
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