summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@samsung.com>2016-02-03 18:45:01 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:49:16 +0900
commite8a3a8e000ca6913f452d8b3795f3c11aba00541 (patch)
treefab8df6328c7891754afe93fd4c9405d90e72f2e /drivers/input
parent9a573c97650e1c909651da6d94713ac4edaba025 (diff)
input: fts_ts: remove redundant event counting
... as it is not useful for anything. Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/fts_ts.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/input/touchscreen/fts_ts.c b/drivers/input/touchscreen/fts_ts.c
index 28ddc33dbbe5..c088257961af 100644
--- a/drivers/input/touchscreen/fts_ts.c
+++ b/drivers/input/touchscreen/fts_ts.c
@@ -522,7 +522,6 @@ static int fts_probe(struct i2c_client *client, const struct i2c_device_id *id)
struct fts_i2c_platform_data *pdata;
struct fts_ts_info *info;
struct input_dev *input_dev;
- static char fts_ts_phys[64] = { 0 };
int retval;
int i = 0;
@@ -577,9 +576,6 @@ static int fts_probe(struct i2c_client *client, const struct i2c_device_id *id)
info->input_dev = input_dev;
input_dev->dev.parent = &client->dev;
input_dev->name = "sec_touchscreen";
- snprintf(fts_ts_phys, sizeof(fts_ts_phys), "%s/input0",
- input_dev->name);
- input_dev->phys = fts_ts_phys;
input_dev->id.bustype = BUS_I2C;
#ifdef USE_OPEN_CLOSE
input_dev->open = fts_input_open;