Input: goodix - use input_copy_abs() helper
authorHans de Goede <hdegoede@redhat.com>
Tue, 1 Mar 2022 06:59:03 +0000 (22:59 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 1 Mar 2022 07:26:28 +0000 (23:26 -0800)
commitae8e80c5f18dd08cc0c1ba43a17e11cf8b495d66
treea044d8fdf44774107f4f15b81ed2627869120d5f
parentcb66b9ba5cdacab5592bce31a4083fc4ac172ea5
Input: goodix - use input_copy_abs() helper

Use the new input_copy_abs() helper and move the 2 input_abs_set_res()
calls up to be directly after the 2 input_copy_abs() calls, so that
the calls initializing the X and Y axis are all together.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220131143539.109142-3-hdegoede@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/goodix.c