Input: omap-keypad - fix error handling code
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 11 Apr 2017 03:48:16 +0000 (20:48 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 11 Apr 2017 03:51:49 +0000 (20:51 -0700)
commit9bb9dc1359ef40a10153cd8c7106dd9d9e8aa1a3
tree458278924a8d857b4c77cd496899511046cda1b0
parent81093c9848a781b85163d06de92ef8f84528cf6a
Input: omap-keypad - fix error handling code

According to the previous error handling code, it is likely that 'goto
err_free_keymap' is expected here in order to avoid a memory leak in error
handling path.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/omap4-keypad.c