summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorDirk Behme <dirk.behme@de.bosch.com>2015-07-06 15:57:44 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-07-08 21:50:57 -0700
commit2d53809594afaf2ae66a90a3142c1b702fd3bcea (patch)
treeb238ec0c1e98f784146b87a7c15c6e4496acd28b /include/linux/platform_data
parentb7e79329c4e34d63cd374e603ece91f2b2c3331e (diff)
downloadop-kernel-dev-2d53809594afaf2ae66a90a3142c1b702fd3bcea.zip
op-kernel-dev-2d53809594afaf2ae66a90a3142c1b702fd3bcea.tar.gz
Input: zforce_ts - convert to use the gpiod interface
Use the new GPIO descriptor interface to handle the zForce GPIOs. This simplifies the code and allows transparently handle GPIO polarity, as specified in device tree data. Also switch to using gpio_{set|get}_value_cansleep() since none of the callers is in atomic context and cansleep variant allows more GPIO controllers to be used with the touchscreen. Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/zforce_ts.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/platform_data/zforce_ts.h b/include/linux/platform_data/zforce_ts.h
index 0472ab2..7bdece8 100644
--- a/include/linux/platform_data/zforce_ts.h
+++ b/include/linux/platform_data/zforce_ts.h
@@ -16,9 +16,6 @@
#define _LINUX_INPUT_ZFORCE_TS_H
struct zforce_ts_platdata {
- int gpio_int;
- int gpio_rst;
-
unsigned int x_max;
unsigned int y_max;
};
OpenPOWER on IntegriCloud