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)
commit6cc527b05847984990a09ef028b2f670bbc72c46
tree1015037e621f7cc1a496ec3ac75625ee69730aa6
parent46b018fa95003f8159f5fcf9b8cd89acaea34e31
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