Revert "HID: Add input_register callback."

This reverts commit 274ba2dc1eb8d949da547743ae26178a3f83ff6b.

This patch updated one of the callbacks (input_configured)
but didn't update the respective drivers, so we end up running
into a lot of warnings when building HID drivers. e.g.

drivers/hid/hid-sony.c:2050:2: warning: initialization from
incompatible pointer type [enabled by default]
  .input_configured = sony_input_configured,
...and so on.

Hence revert this patch and cherry-pick the upstream(4.4-rc1)
commit 9154301a47b3 "HID: hid-input: allow input_configured
callback return errors" instead.

Change-Id: If417e1216a4063606cc9e1581ebd13b89880fd7a
Signed-off-by: Amit Pundir <>
3 files changed