Input: edt-ft5x06 - simplify event reporting code
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 23 Jun 2019 06:21:24 +0000 (23:21 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 5 Jul 2019 17:19:13 +0000 (10:19 -0700)
commit17b92927f8531d1ceb7e4f10b75fc4b066ac77fc
tree8f7636b183a1196773934bcd5f5ff8f6d9c99e86
parent904e782b07df1c685fdc8c4fc8d62e1d61f9ee32
Input: edt-ft5x06 - simplify event reporting code

Now that input_mt_report_slot_state() returns true if slot is active we no
longer need a temporary for the slot state.

Tested-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/edt-ft5x06.c