History

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.

Roger Quadros committed 12 years ago

Commit 0dfc8d41 parent 3b36fbb2 files · +16 −2Browse files

Showing the changes to include/linux/input (1 of 2 files). Show all

Unified · Split

include/linux/input/pixcir_ts.h+1−1
@@ -44,9 +44,9 @@ enum pixcir_int_mode { · 43 unmodified lines
44#define PIXCIR_INT_POL_HIGH (1UL << 2)44#define PIXCIR_INT_POL_HIGH (1UL << 2)
45 45
46struct pixcir_ts_platform_data {46struct 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#endif52#endif