]> git.baikalelectronics.ru Git - kernel.git/commit
Input: imx6ul_tsc - propagate the errors
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 14 Sep 2015 17:36:35 +0000 (10:36 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 19 Sep 2015 18:41:53 +0000 (11:41 -0700)
commit88d683129647b033b8c7594d4ca6a90a802e57bf
tree1015037e621f7cc1a496ec3ac75625ee69730aa6
parent441ecddf88ae3dc462d208ed215297e8c9d31e00
Input: imx6ul_tsc - propagate the errors

imx6ul_adc_init() may fail in two cases, so we should better
propagate the errors and make sure that the callers of
this function also check and propagate the errors accordingly.

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