Input: atmel_mxt_ts - improve touchscreen size/orientation handling
authorNick Dyer <nick.dyer@itdev.co.uk>
Mon, 11 Jan 2016 02:29:34 +0000 (18:29 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 12 Jan 2016 01:48:57 +0000 (17:48 -0800)
commit1c0276d56737bd29b6d960611b625710c5cda080
tree6cc3f493f529acb7f89f420a8cd0362ed0a23715
parent6544a1df11c48c8413071aac3316792e4678fbfb
Input: atmel_mxt_ts - improve touchscreen size/orientation handling

Both T100 and T9 handle range and orientation in a similar fashion.
Reduce duplication between the two implementations.

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/atmel_mxt_ts.c