Input: ad7879 - pass up error codes from probe functions
authorMichael Hennerich <michael.hennerich@analog.com>
Tue, 6 Oct 2009 04:43:43 +0000 (21:43 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 6 Oct 2009 05:00:21 +0000 (22:00 -0700)
commit4fa5757a4c54fe59c4d7d7a68ac2d0a5493a2bef
tree0060ecd75bf00e375c007f98595d96a6b983b74f
parent3ac91d36bb8fdfe9b73a3169e6b42cda0518e56a
Input: ad7879 - pass up error codes from probe functions

If the sub-probe functions fail, we need to pass up the error code to the
higher levels from the probe function.  We currently always return 0 even
if there was an error so higher levels don't report problems.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ad7879.c