* [PATCH] Input: Remove superfluous assignment in edt_ft5x06_register_write()
@ 2014-08-13 20:00 Maks Naumov
2014-08-13 22:29 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Maks Naumov @ 2014-08-13 20:00 UTC (permalink / raw)
To: linux-input; +Cc: Dmitry Torokhov
Signed-off-by: Maks Naumov <maksqwe1@ukr.net>
---
drivers/input/touchscreen/edt-ft5x06.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c
index 5a6d50c..8857d5b 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,
case M06:
wrbuf[0] = tsdata->factory_mode ? 0xf3 : 0xfc;
wrbuf[1] = tsdata->factory_mode ? addr & 0x7f : addr & 0x3f;
- wrbuf[1] = tsdata->factory_mode ? addr & 0x7f : addr & 0x3f;
wrbuf[2] = value;
wrbuf[3] = wrbuf[0] ^ wrbuf[1] ^ wrbuf[2];
return edt_ft5x06_ts_readwrite(tsdata->client, 4,
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Input: Remove superfluous assignment in edt_ft5x06_register_write()
2014-08-13 20:00 [PATCH] Input: Remove superfluous assignment in edt_ft5x06_register_write() Maks Naumov
@ 2014-08-13 22:29 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2014-08-13 22:29 UTC (permalink / raw)
To: Maks Naumov; +Cc: linux-input
On Wed, Aug 13, 2014 at 01:00:05PM -0700, Maks Naumov wrote:
> Signed-off-by: Maks Naumov <maksqwe1@ukr.net>
Applied, thank you.
> ---
> drivers/input/touchscreen/edt-ft5x06.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c
> index 5a6d50c..8857d5b 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,
> case M06:
> wrbuf[0] = tsdata->factory_mode ? 0xf3 : 0xfc;
> wrbuf[1] = tsdata->factory_mode ? addr & 0x7f : addr & 0x3f;
> - wrbuf[1] = tsdata->factory_mode ? addr & 0x7f : addr & 0x3f;
> wrbuf[2] = value;
> wrbuf[3] = wrbuf[0] ^ wrbuf[1] ^ wrbuf[2];
> return edt_ft5x06_ts_readwrite(tsdata->client, 4,
> --
> 1.9.1
>
>
>
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-13 22:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-13 20:00 [PATCH] Input: Remove superfluous assignment in edt_ft5x06_register_write() Maks Naumov
2014-08-13 22:29 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).