Input: eeti_ts - use get_unaligned_be16() to retrieve data
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 21 Feb 2017 05:50:13 +0000 (21:50 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 3 Apr 2017 23:24:31 +0000 (16:24 -0700)
commite9f66cdb7d5b9c05a76dde4ca5f217ba4af7f333
tree03b4c132963b87e66d567584c72a32a4dba5b79b
parent272c03bb19018a03e50be44b30b4c7485918b8a2
Input: eeti_ts - use get_unaligned_be16() to retrieve data

Instead of manually converting big endian data on wire into host
endianness, let's use helpers to do that for us. It might save us
a few cycles if host endianness matches what's on wire.

Reviewed-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/eeti_ts.c