diff options
author | Roger Quadros <rogerq@ti.com> | 2014-05-19 09:46:43 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-05-19 10:25:57 +0400 |
commit | 0dfc8d41bfa091a61354eea73199a5af0eaae9c0 (patch) | |
tree | b251f6c4742b622a5b5229a5f2bd2f97cdcdc267 /include/linux/input | |
parent | 3b36fbb01dc50f58e7803006f5a99683daf26c8c (diff) | |
download | linux-0dfc8d41bfa091a61354eea73199a5af0eaae9c0.tar.xz |
Input: pixcir_i2c_ts - get rid of pdata->attb_read_val()
Get rid of the attb_read_val() platform hook. Instead, read the ATTB gpio
directly from the driver.
Fail if valid ATTB gpio is not provided by patform data.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/input')
-rw-r--r-- | include/linux/input/pixcir_ts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/input/pixcir_ts.h b/include/linux/input/pixcir_ts.h index 7942804464d3..160cf353aa39 100644 --- a/include/linux/input/pixcir_ts.h +++ b/include/linux/input/pixcir_ts.h @@ -44,9 +44,9 @@ enum pixcir_int_mode { #define PIXCIR_INT_POL_HIGH (1UL << 2) struct pixcir_ts_platform_data { - int (*attb_read_val)(void); int x_max; int y_max; + int gpio_attb; /* GPIO connected to ATTB line */ }; #endif |