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
4444 #define PIXCIR_INT_POL_HIGH (1UL << 2)
4545
4646 struct pixcir_ts_platform_data {
47− int (*attb_read_val)(void);
4847 int x_max;
4948 int y_max;
49+ int gpio_attb; /* GPIO connected to ATTB line */
5050 };
5151
5252 #endif