Input: ads7846 - fix uninitialized var warning
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 10 Mar 2008 10:08:40 +0000 (03:08 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 14 Mar 2008 15:54:13 +0000 (11:54 -0400)
commit05be5fc4c75fd91c9601b5e697f94112f0f6482b
treeede5a6b2371803d0667625d0e0ecf1d6b9f85357
parentf1782447125c167ca02babb9a2af3853895e411c
Input: ads7846 - fix uninitialized var warning

drivers/input/touchscreen/ads7846.c: In function 'ads7846_read12_ser':
drivers/input/touchscreen/ads7846.c:216: warning: 'sample' may be used uninitialized in this function

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ads7846.c