aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaks Naumov <maksqwe1@ukr.net>2014-08-13 18:27:52 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-08-13 18:30:11 -0400
commit3361a97601f243f1842bee6ca709e399f47b2ce3 (patch)
tree33dc4acf866916c455f8b761a6417b8b0ee85a5d
parent1a48ff81b3912be5fadae3fafde6c2f632246a4c (diff)
Input: edt-ft5x06 - remove superfluous assignment
Somehow we ended up with a duplicate line in edt_ft5x06_register_write() Signed-off-by: Maks Naumov <maksqwe1@ukr.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--drivers/input/touchscreen/edt-ft5x06.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c
index 5a6d50c004d7..8857d5b9be71 100644
--- a/drivers/input/touchscreen/edt-ft5x06.c
+++ b/drivers/input/touchscreen/edt-ft5x06.c
@@ -262,7 +262,6 @@ static int edt_ft5x06_register_write(struct edt_ft5x06_ts_data *tsdata,
262 case M06: 262 case M06:
263 wrbuf[0] = tsdata->factory_mode ? 0xf3 : 0xfc; 263 wrbuf[0] = tsdata->factory_mode ? 0xf3 : 0xfc;
264 wrbuf[1] = tsdata->factory_mode ? addr & 0x7f : addr & 0x3f; 264 wrbuf[1] = tsdata->factory_mode ? addr & 0x7f : addr & 0x3f;
265 wrbuf[1] = tsdata->factory_mode ? addr & 0x7f : addr & 0x3f;
266 wrbuf[2] = value; 265 wrbuf[2] = value;
267 wrbuf[3] = wrbuf[0] ^ wrbuf[1] ^ wrbuf[2]; 266 wrbuf[3] = wrbuf[0] ^ wrbuf[1] ^ wrbuf[2];
268 return edt_ft5x06_ts_readwrite(tsdata->client, 4, 267 return edt_ft5x06_ts_readwrite(tsdata->client, 4,