]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8bc7d0f5f7d460cf162a62fbe216aa4eb21a7926
tree7c844264e706db85053c5a51779413880d4ab793
parenta65eec864b9daef1b2c6b2be676bc963df2e250c
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