Input: hil_kbd - switch to use completion instead of semaphore
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 8 Aug 2009 06:17:46 +0000 (23:17 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 9 Aug 2009 20:26:37 +0000 (13:26 -0700)
commit6777f01728d5fc40e02cc0ae43639bf51cc247dd
tree8be1ed951cdcdc0e98520c2a3ad6afa331e82af7
parent67dbe83adca4415e210e436bf961e8a833030d1e
Input: hil_kbd - switch to use completion instead of semaphore

Stop abusing semaphore for waiting, use completion instead. Also handle
errors from input_register_device.

Tested-by: Helge Deller <deller@gmx.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/hil_kbd.c