Input: touchscreen - use local variables consistently

If a function declares a variable to access a structure element,
use it consistently.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
Guenter Roeck
2017-01-21 23:46:47 -08:00
committed by Dmitry Torokhov
parent ad56814fcc
commit d7ddf15414
6 changed files with 7 additions and 8 deletions

View File

@@ -2509,7 +2509,7 @@ static void mxt_debug_init(struct mxt_data *data)
dbg->t37_pages = MXT1386_COLUMNS * MXT1386_PAGES_PER_COLUMN;
else
dbg->t37_pages = DIV_ROUND_UP(data->xsize *
data->info.matrix_ysize *
info->matrix_ysize *
sizeof(u16),
sizeof(dbg->t37_buf->data));