Input: goodix - use string-based chip ID
authorIcenowy Zheng <icenowy@aosc.io>
Tue, 24 Mar 2020 18:57:58 +0000 (11:57 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 24 Mar 2020 22:08:39 +0000 (15:08 -0700)
commitcae102e2fc0832b0633fcb4e051cc1338b37145c
treed00c9fa3264cd4fd2338342199da8f391a57761c
parent8c2327ef7999c00d69258f03ab35c280e4dcfe46
Input: goodix - use string-based chip ID

For Goodix GT917S chip, the chip ID string is "917S", which contains not
only numbers now.

Use string-based chip ID in the driver to support this chip and further
chips with alphanumber ID.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Bastien Nocera <hadess@hadess.net>
Link: https://lore.kernel.org/r/20200228010146.12215-3-icenowy@aosc.io
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/goodix.c