summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/tsc2005.c
diff options
context:
space:
mode:
authorMichael Welling <mwelling@ieee.org>2015-11-03 02:51:49 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-11-03 23:54:01 +0100
commitef3b98c2c3fc6a73ec1e98a463c38329e66c6b95 (patch)
treefb7ad70f24fe1a1ac8efe277226e21766cdcc76d /drivers/input/touchscreen/tsc2005.c
parentInput: tsc2005 - separate SPI and core functions (diff)
downloadlinux-ef3b98c2c3fc6a73ec1e98a463c38329e66c6b95.tar.xz
linux-ef3b98c2c3fc6a73ec1e98a463c38329e66c6b95.zip
Input: tsc200x-core - rename functions and variables
The functions, variables, and defines of the new tsc200x-core.c are renamed to tsc200x instead of tsc2005 avoid possible confusion. Signed-off-by: Michael Welling <mwelling@ieee.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/tsc2005.c')
-rw-r--r--drivers/input/touchscreen/tsc2005.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/tsc2005.c b/drivers/input/touchscreen/tsc2005.c
index b853f826ce9b..1bbe64c89a10 100644
--- a/drivers/input/touchscreen/tsc2005.c
+++ b/drivers/input/touchscreen/tsc2005.c
@@ -26,7 +26,7 @@
static int tsc2005_cmd(struct device *dev, u8 cmd)
{
- u8 tx = TSC2005_CMD | TSC2005_CMD_12BIT | cmd;
+ u8 tx = TSC200X_CMD | TSC200X_CMD_12BIT | cmd;
struct spi_transfer xfer = {
.tx_buf = &tx,
.len = 1,