aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/mms_ts.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/touchscreen/mms_ts.c')
-rw-r--r--drivers/input/touchscreen/mms_ts.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/input/touchscreen/mms_ts.c b/drivers/input/touchscreen/mms_ts.c
index ebca68c..cdb47f7 100644
--- a/drivers/input/touchscreen/mms_ts.c
+++ b/drivers/input/touchscreen/mms_ts.c
@@ -50,8 +50,6 @@
#include <asm/unaligned.h>
-#include "../keyboard/cypress/cypress-touchkey.h"
-
#define MAX_FINGERS 10
#define MAX_WIDTH 30
#define MAX_PRESSURE 255
@@ -682,9 +680,6 @@ static irqreturn_t mms_ts_interrupt(int irq, void *dev_id)
, angle, palm);
#else
if (info->finger_state[id] != 0) {
- // report state to cypress-touchkey for backlight timeout
- touchscreen_state_report(0);
-
dev_notice(&client->dev,
"finger [%d] up, palm %d\n", id, palm);
}
@@ -723,10 +718,6 @@ static irqreturn_t mms_ts_interrupt(int irq, void *dev_id)
#else
if (info->finger_state[id] == 0) {
info->finger_state[id] = 1;
-
- // report state to cypress-touchkey for backlight timeout
- touchscreen_state_report(1);
-
dev_notice(&client->dev,
"finger [%d] down, palm %d\n", id, palm);
}