Input: sur40 - fix error return code
authorJulia Lawall <Julia.Lawall@lip6.fr>
Mon, 24 Aug 2015 17:51:04 +0000 (10:51 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 24 Aug 2015 17:55:24 +0000 (10:55 -0700)
commitff89de6ba1d41ad4dea2c59531c5b4038ae43e8c
tree2e41b4d125246ffd5073fba0dcdd2a1d38ae00c4
parent9c8f55798a9d716daed4de6d7038a21c3ca6e673
Input: sur40 - fix error return code

Propagate error code on failure, or upper layers will be confused by
returned 0 (success) code.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/sur40.c