diff options
| author | Oreste Salerno <oreste.salerno@tomtom.com> | 2016-01-27 16:55:43 -0500 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-01-27 17:32:48 -0500 |
| commit | 707b61bba8b16adb6a2cbc72b71a75e09cb0f81a (patch) | |
| tree | bf565a026a105839e65f0403917733eb3fc4bd6e /include/linux/input | |
| parent | 69a124029b4bfcfc66b477ad2c3298f06c905ee6 (diff) | |
Input: cyttsp - switch to using device properties
Drop support for platform data passed via a C-structure and switch to
device properties instead, which should make the driver compatible
with all platforms: OF, ACPI and static boards. Static boards should
use property sets to communicate device parameters to the driver.
Signed-off-by: Oreste Salerno <oreste.salerno@tomtom.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/input')
| -rw-r--r-- | include/linux/input/cyttsp.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/input/cyttsp.h b/include/linux/input/cyttsp.h index 5af7c66f1fca..586c8c95dcb0 100644 --- a/include/linux/input/cyttsp.h +++ b/include/linux/input/cyttsp.h | |||
| @@ -40,19 +40,4 @@ | |||
| 40 | /* Active distance in pixels for a gesture to be reported */ | 40 | /* Active distance in pixels for a gesture to be reported */ |
| 41 | #define CY_ACT_DIST_DFLT 0xF8 /* pixels */ | 41 | #define CY_ACT_DIST_DFLT 0xF8 /* pixels */ |
| 42 | 42 | ||
| 43 | struct cyttsp_platform_data { | ||
| 44 | u32 maxx; | ||
| 45 | u32 maxy; | ||
| 46 | bool use_hndshk; | ||
| 47 | u8 act_dist; /* Active distance */ | ||
| 48 | u8 act_intrvl; /* Active refresh interval; ms */ | ||
| 49 | u8 tch_tmout; /* Active touch timeout; ms */ | ||
| 50 | u8 lp_intrvl; /* Low power refresh interval; ms */ | ||
| 51 | int (*init)(void); | ||
| 52 | void (*exit)(void); | ||
| 53 | char *name; | ||
| 54 | s16 irq_gpio; | ||
| 55 | u8 *bl_keys; | ||
| 56 | }; | ||
| 57 | |||
| 58 | #endif /* _CYTTSP_H_ */ | 43 | #endif /* _CYTTSP_H_ */ |
