input: touchscreen: panjit_i2c: fix suspend
authorGary King <gking@nvidia.com>
Mon, 6 Sep 2010 03:36:38 +0000 (20:36 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:28:30 +0000 (16:28 -0700)
commite4f8b6f6c1c68b8a1ca3887e808758f1da939d62
treef4c311c9cd2aa9e633be27dbe3ee6e91cc78bb86
parenta38f8a674cd6de6b1bc355e684250dd537690304
input: touchscreen: panjit_i2c: fix suspend

the panjit touchscreen needs to be reset when returning from
deep sleep mode; add a platform data structure to specify
the reset GPIO.

perform the reset during _probe, since the code already needs
to exist for _resume

delete a bunch of unused preprocessor defines

Change-Id: I71ae65dec45710b0eab4625036edf75064d4cc2b
Signed-off-by: Gary King <gking@nvidia.com>
drivers/input/touchscreen/panjit_i2c.c
include/linux/i2c/panjit_ts.h [new file with mode: 0644]