Input: imx_keypad - Propagate the real error code on platform_get_irq() failure
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 17 Feb 2014 19:31:36 +0000 (11:31 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 17 Feb 2014 19:37:13 +0000 (11:37 -0800)
commit7fb45edba8b5206e645572a682c946f67375447e
tree2cfe635a59814f7221415ddacbb60150deccb1fb
parenta9728f9730c915bcd3d3010565946195b9f19e1d
Input: imx_keypad - Propagate the real error code on platform_get_irq() failure

No need to return a 'fake' return value on platform_get_irq() failure.

Just return the error code itself instead.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/imx_keypad.c