]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d4566bc90fd07ba15996328187eddd24e6d36e3
tree03b4c132963b87e66d567584c72a32a4dba5b79b
parenta5cccc28ebf3212d89263c9343596165ba1a5249
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