Input: tosakbd - fix cleaning up KEY_STROBEs after error
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 26 Aug 2009 02:24:23 +0000 (19:24 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 28 Aug 2009 05:02:47 +0000 (22:02 -0700)
commit8fbac18e8edd974b5234d96a9b8e2a26ab2ac556
treeee76a1376a7c4ea4b4219fb502e9229101cd575c
parent999b874f4aa39b7abf45662ff0900f943ddb2d02
Input: tosakbd - fix cleaning up KEY_STROBEs after error

Direct to fail2 to gpio_free() the KEY_STROBEs as well as the KEY_SENSEs.

[dtor@mail.ru: change keymap from unsigned int to unsigned short]
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/tosakbd.c