]> asedeno.scripts.mit.edu Git - linux.git/commit
Input: tsc2005 - simplify drvdata acquisition
authorSebastian Reichel <sre@kernel.org>
Tue, 28 Jul 2015 00:28:37 +0000 (17:28 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 28 Jul 2015 05:28:18 +0000 (22:28 -0700)
commit80b46aa69e543939e39eca5ae96fe508a1da2230
treeb1270cf212f9389ec1adf440c8a6dec7e28f9a61
parent273cf48aa95a86ee368a10b9a2a6b0c62544ffe5
Input: tsc2005 - simplify drvdata acquisition

Using dev_*_drvdata() instead of spi_*_drvdata() reduces lines of code and
prepares the driver for possible tsc2004 support, which is i2c based.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/tsc2005.c