summaryrefslogtreecommitdiffstats
path: root/include/linux/input
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2013-02-23 12:06:44 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-02-24 19:10:10 -0800
commit27cef8b47cfb27fa2955a8577637794f1f275db2 (patch)
treea92f52efaa486cc25b4302272aaef3c23110f86f /include/linux/input
parentfa656308622fdaf54f2ff9ce8a70e4260f701b5d (diff)
downloadlinux-27cef8b47cfb27fa2955a8577637794f1f275db2.tar.gz
linux-27cef8b47cfb27fa2955a8577637794f1f275db2.tar.bz2
linux-27cef8b47cfb27fa2955a8577637794f1f275db2.zip
Input: auo-pixcir-ts - handle reset gpio directly
Devicetree based platforms don't handle device callbacks very well and until now no board has come along that needs more extended hwinit than pulling the rst gpio high. Therefore pull the reset handling directly into the driver and remove the callbacks from the driver. If extended device setup is needed at some later point, power-sequences would probably be the solution of choice. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/input')
-rw-r--r--include/linux/input/auo-pixcir-ts.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/input/auo-pixcir-ts.h b/include/linux/input/auo-pixcir-ts.h
index 75d4be717714..5049f21928e4 100644
--- a/include/linux/input/auo-pixcir-ts.h
+++ b/include/linux/input/auo-pixcir-ts.h
@@ -43,12 +43,10 @@
*/
struct auo_pixcir_ts_platdata {
int gpio_int;
+ int gpio_rst;
int int_setting;
- void (*init_hw)(struct i2c_client *);
- void (*exit_hw)(struct i2c_client *);
-
unsigned int x_max;
unsigned int y_max;
};