]> git.baikalelectronics.ru Git - kernel.git/commit
Input: edt-ft5x06 - use get_unaligned_be16()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 23 Jun 2019 06:11:51 +0000 (23:11 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 30 Jun 2019 07:18:12 +0000 (00:18 -0700)
commit76e8bb06f8b3928c427b1f6d587d51268b21d769
treee3eb5f8687e64fa7e84d0b65bd57f389f623b2a6
parent20e4fa9038b21ede8257628da2d2ae4365f12712
Input: edt-ft5x06 - use get_unaligned_be16()

Instead of doing conversion by hand, let's use the proper accessors.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Tested-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/edt-ft5x06.c