Input: ads7846 - simplify support of external vREF (and ads7843)
authorDavid Brownell <david-b@pacbell.net>
Wed, 2 Apr 2008 04:43:01 +0000 (00:43 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 2 Apr 2008 04:43:01 +0000 (00:43 -0400)
commit7c6d0ee14cb7a4cfad4864dc196256da5749bc0c
treea24af9205d80605d6e4b01693b652f9837071e5c
parente6cdd15629a5a99d805fa3cbf0f5174bcfc685bb
Input: ads7846 - simplify support of external vREF (and ads7843)

This updates the ads7846 driver to handle external vREF (required
on boards using ads7843 chips) without module parameters, and also
removes a needless variable with its associated bogus gcc warning.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ads7846.c
include/linux/spi/ads7846.h