diff options
author | Dirk Behme <dirk.behme@de.bosch.com> | 2015-07-06 15:57:44 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-07-08 21:50:57 -0700 |
commit | 2d53809594afaf2ae66a90a3142c1b702fd3bcea (patch) | |
tree | b238ec0c1e98f784146b87a7c15c6e4496acd28b /include | |
parent | b7e79329c4e34d63cd374e603ece91f2b2c3331e (diff) | |
download | linux-2d53809594afaf2ae66a90a3142c1b702fd3bcea.tar.gz linux-2d53809594afaf2ae66a90a3142c1b702fd3bcea.tar.bz2 linux-2d53809594afaf2ae66a90a3142c1b702fd3bcea.zip |
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')
-rw-r--r-- | include/linux/platform_data/zforce_ts.h | 3 |
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 0472ab2f6ede..7bdece8ef33e 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; }; |