]> git.baikalelectronics.ru Git - kernel.git/commit
Input: goodix - move defines to above struct goodix_ts_data declaration
authorHans de Goede <hdegoede@redhat.com>
Tue, 24 Mar 2020 18:29:10 +0000 (11:29 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 24 Mar 2020 22:07:18 +0000 (15:07 -0700)
commit0a288c7e3fe2abc1f634350ec75e0358b6ca0134
tree8c81ccedea01c329ffb1ea59f7b411aa28f37d7d
parentdfda3fe35c03ea0608ef430cc840dfcf4c496b1c
Input: goodix - move defines to above struct goodix_ts_data declaration

Move the  defines to above the struct goodix_ts_data declaration, so
that the MAX defines can be used inside the struct goodix_ts_data
declaration. No functional changes, just moving a block of code.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1786317
BugLink: https://github.com/nexus511/gpd-ubuntu-packages/issues/10
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=199207
Reviewed-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200307121505.3707-7-hdegoede@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/goodix.c