aboutsummaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/ts_filter_median.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/touchscreen/ts_filter_median.h')
-rw-r--r--drivers/input/touchscreen/ts_filter_median.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/input/touchscreen/ts_filter_median.h b/drivers/input/touchscreen/ts_filter_median.h
index 8f25e27b2aa..589bc6d996c 100644
--- a/drivers/input/touchscreen/ts_filter_median.h
+++ b/drivers/input/touchscreen/ts_filter_median.h
@@ -11,6 +11,7 @@
* (c) 2008 Andy Green <andy@openmoko.com>
*/
+/* TODO: comment every field */
struct ts_filter_median_configuration {
int extent;
int midpoint;
@@ -19,18 +20,6 @@ struct ts_filter_median_configuration {
int decimation_below;
};
-struct ts_filter_median {
- struct ts_filter tsf;
- struct ts_filter_median_configuration *config;
-
- int decimation_count;
- int last_issued[MAX_TS_FILTER_COORDS];
- int valid; /* how many samples in the sort buffer are valid */
- int *sort[MAX_TS_FILTER_COORDS]; /* samples taken for median */
- int *fifo[MAX_TS_FILTER_COORDS]; /* samples taken for median */
- int pos; /* where we are in the fifo sample memory */
-};
-
extern struct ts_filter_api ts_filter_median_api;
#endif