diff options
| author | Roger Quadros <rogerq@ti.com> | 2014-05-19 01:46:43 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-05-19 02:25:57 -0400 |
| commit | 0dfc8d41bfa091a61354eea73199a5af0eaae9c0 (patch) | |
| tree | b251f6c4742b622a5b5229a5f2bd2f97cdcdc267 /include/linux/input | |
| parent | 3b36fbb01dc50f58e7803006f5a99683daf26c8c (diff) | |
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 { | |||
| 44 | #define PIXCIR_INT_POL_HIGH (1UL << 2) | 44 | #define PIXCIR_INT_POL_HIGH (1UL << 2) |
| 45 | 45 | ||
| 46 | struct pixcir_ts_platform_data { | 46 | struct pixcir_ts_platform_data { |
| 47 | int (*attb_read_val)(void); | ||
| 48 | int x_max; | 47 | int x_max; |
| 49 | int y_max; | 48 | int y_max; |
| 49 | int gpio_attb; /* GPIO connected to ATTB line */ | ||
| 50 | }; | 50 | }; |
| 51 | 51 | ||
| 52 | #endif | 52 | #endif |
