]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5798c6922d8a1adfc770a1adbcad33a6efaddf35
tree0060ecd75bf00e375c007f98595d96a6b983b74f
parentb133307f63160f7c34bfb3d2f9c3423d745a272b
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