Input: imx_keypad - check for clk_prepare_enable() error
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 22 Jun 2015 16:22:34 +0000 (09:22 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 22 Jun 2015 16:33:51 +0000 (09:33 -0700)
commite998200c1912f22cf257ae88771e56de588ee8fb
treee5c1633a20ed1a01fa3c6bbf2640124122f2336a
parent84c88ef9affb34f10cb5b66b07e2d496845d1c28
Input: imx_keypad - check for clk_prepare_enable() error

clk_prepare_enable() may fail, so we should better check its return value
and propagate it in the case of error.

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