Input: ili210x - do not retrieve/print chip firmware version
authorSven Van Asbroeck <thesven73@gmail.com>
Tue, 12 Nov 2019 23:40:03 +0000 (15:40 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 12 Nov 2019 23:53:30 +0000 (15:53 -0800)
commitc7dded5b2980de9811f47a1a576e0596a5a775ce
tree44fad3176dcea087d9978f4b975001ea1985c6cd
parent8d13c7642fabb0f9fb044041ebcce23fb002d86b
Input: ili210x - do not retrieve/print chip firmware version

The driver's method to retrieve the firmware version on ili2117/
ili2118 chip flavours is incorrect. The firmware version register
address and layout are wrong.

The firmware version is not actually used anywhere inside or
outside this driver. There is a dev_dbg() print, but that is
only visible when the developer explicitly compiles in debug
support.

Don't make the code more complicated to preserve a feature that
no-one is using. Remove all code associated with chip firmware
version.

Signed-off-by: Sven Van Asbroeck <TheSven73@gmail.com>
Link: https://lore.kernel.org/r/20191112164429.11225-1-TheSven73@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ili210x.c