Input: atmel_mxt_ts - split message handler into separate functions
authorNick Dyer <nick.dyer@itdev.co.uk>
Wed, 23 Jul 2014 19:48:13 +0000 (12:48 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 23 Jul 2014 21:42:13 +0000 (14:42 -0700)
commitb9b05a89721f05e2db227283ec9f7af804830b01
tree0333028d0f8cb3bf6698e497a3c1bc5ea93f0d7e
parent497767d158491521c706f9ae1b805eca2eceb434
Input: atmel_mxt_ts - split message handler into separate functions

This is in preparation for support of the T44 message count object.

Also, cache T5 address to avoid lookup on every interrupt cycle.

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Acked-by: Benson Leung <bleung@chromium.org>
Acked-by: Yufeng Shen <miletus@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/atmel_mxt_ts.c