Input: exc3000 - factor out vendor data request
authorLucas Stach <l.stach@pengutronix.de>
Mon, 8 Mar 2021 05:35:54 +0000 (21:35 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 8 Mar 2021 05:56:47 +0000 (21:56 -0800)
commit102feb1ddfd00d0c6115ae3372058012dc16418c
tree7c844264e706db85053c5a51779413880d4ab793
parenta63d0120a2dd89eabf24b415b27208e190e989b0
Input: exc3000 - factor out vendor data request

Factor out the vendor data i2c request handling to make it reusable
for other functions. Also don't cache the model and firmware version
string in the device private data as we never use the cached version,
but always read from the device.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Link: https://lore.kernel.org/r/20210125182527.1225245-3-l.stach@pengutronix.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/exc3000.c