]> 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)
commitc207b10c8ae3cc8714da721ac084b1a260c97686
tree03b4c132963b87e66d567584c72a32a4dba5b79b
parent31c1c168370421ac815c1c931106dbe985030d8b
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