Input: twl4030_keypad - fix error handling path
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 30 Sep 2010 01:36:00 +0000 (18:36 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 13 Oct 2010 14:49:24 +0000 (07:49 -0700)
commita9cc0202227caa4adb5e823d5fbce7790364941f
tree4a47075935391b4510597cae52e10c4d9de46444
parent6792cbbb254712a8c0fa8a4c97c8d521c7c41c28
Input: twl4030_keypad - fix error handling path

We should not try to call free_irq() when request_irq() failed.

Reported-by: G, Manjunath Kondaiah <manjugk@ti.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/twl4030_keypad.c