Input: rework handle creation code
authorDmitry Torokhov <dtor@insightbb.com>
Thu, 12 Apr 2007 05:29:46 +0000 (01:29 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Thu, 12 Apr 2007 05:29:46 +0000 (01:29 -0400)
commit5b2a08262a8c952fef008154933953f083ca5766
tree47fb54c30509a4c444613a1737a212ddda3bb05d
parent6e782584e0713ea89da151333e7fe754c8f40324
Input: rework handle creation code

 - consolidate code for binding handlers to a device
 - return error codes from handlers connect() methods back to input
   core and log failures

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/char/keyboard.c
drivers/input/evbug.c
drivers/input/evdev.c
drivers/input/input.c
drivers/input/joydev.c
drivers/input/mousedev.c
drivers/input/power.c
drivers/input/tsdev.c
include/linux/input.h