summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/tsc2005.c
diff options
context:
space:
mode:
authorMichael Welling <mwelling@ieee.org>2015-11-03 04:51:49 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-11-04 01:54:01 +0300
commitef3b98c2c3fc6a73ec1e98a463c38329e66c6b95 (patch)
treefb7ad70f24fe1a1ac8efe277226e21766cdcc76d /drivers/input/touchscreen/tsc2005.c
parent6ac2438132ae1f8b12285f9d97a4c8d6aa6f89f0 (diff)
downloadlinux-ef3b98c2c3fc6a73ec1e98a463c38329e66c6b95.tar.xz
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,