]> 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)
commit0225c36c79bd9a7d1661311f9b524983852c35c2
tree8c81ccedea01c329ffb1ea59f7b411aa28f37d7d
parentd336efbdfe2ddc0d524ae3bd25908e7d5a8a2678
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