Input: pmic8xxx-keypad - fix a leak of the IRQ during init failure
authorAxel Lin <axel.lin@gmail.com>
Tue, 19 Jul 2011 00:09:22 +0000 (17:09 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 19 Jul 2011 00:10:31 +0000 (17:10 -0700)
commitedf21d9c38b945b91d100bae59d951bce131d58b
tree73dbcfdfd47ef9765e42c37c1fee51cd7b278eb0
parent2c204109ec1018f72114c7f19132a1109a3f0653
Input: pmic8xxx-keypad - fix a leak of the IRQ during init failure

Make sure we are passing the same cookie in all calls to
request_any_context_irq() and free_irq().

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/pmic8xxx-keypad.c