Input: omap4-keypad - fix memory leak
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 28 Sep 2015 22:59:22 +0000 (15:59 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 28 Sep 2015 23:05:45 +0000 (16:05 -0700)
commitd79bdc7f004404204a6ac07785f8d6717070ecdb
tree00c988027c0f8716bd15adc39601c60daf12b239
parent1a5e251996e1b602f2ddc9261ee9de0ca1875bfa
Input: omap4-keypad - fix memory leak

If omap4_keypad_parse_dt() fails we returned the error code but we
missed releasing keypad_data.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/omap4-keypad.c