aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c
diff options
context:
space:
mode:
authorIiro Valkonen <iiro.valkonen@atmel.com>2011-02-03 02:21:58 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-02-21 04:02:27 -0500
commit7686b108d8ef5c32f429d5228798636f3a1caf5a (patch)
tree0adce74109f9779e517dcd1a3b2601358bc37b61 /include/linux/i2c
parent964de52147c2842092642512e6f654fc2ab51408 (diff)
Input: atmel_mxt_ts - get rid of qt602240 prefixes in names
Change prefixes from qt602240 to mxt to reflect that the driver supports whole line of mXT touchscreens. Signed-off-by: Iiro Valkonen <iiro.valkonen@atmel.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/i2c')
-rw-r--r--include/linux/i2c/atmel_mxt_ts.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/include/linux/i2c/atmel_mxt_ts.h b/include/linux/i2c/atmel_mxt_ts.h
index c5033e101094..671967cf4d1a 100644
--- a/include/linux/i2c/atmel_mxt_ts.h
+++ b/include/linux/i2c/atmel_mxt_ts.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * AT42QT602240/ATMXT224 Touchscreen driver 2 * Atmel maXTouch Touchscreen driver
3 * 3 *
4 * Copyright (C) 2010 Samsung Electronics Co.Ltd 4 * Copyright (C) 2010 Samsung Electronics Co.Ltd
5 * Author: Joonyoung Shim <jy0922.shim@samsung.com> 5 * Author: Joonyoung Shim <jy0922.shim@samsung.com>
@@ -10,21 +10,21 @@
10 * option) any later version. 10 * option) any later version.
11 */ 11 */
12 12
13#ifndef __LINUX_QT602240_TS_H 13#ifndef __LINUX_ATMEL_MXT_TS_H
14#define __LINUX_QT602240_TS_H 14#define __LINUX_ATMEL_MXT_TS_H
15 15
16/* Orient */ 16/* Orient */
17#define QT602240_NORMAL 0x0 17#define MXT_NORMAL 0x0
18#define QT602240_DIAGONAL 0x1 18#define MXT_DIAGONAL 0x1
19#define QT602240_HORIZONTAL_FLIP 0x2 19#define MXT_HORIZONTAL_FLIP 0x2
20#define QT602240_ROTATED_90_COUNTER 0x3 20#define MXT_ROTATED_90_COUNTER 0x3
21#define QT602240_VERTICAL_FLIP 0x4 21#define MXT_VERTICAL_FLIP 0x4
22#define QT602240_ROTATED_90 0x5 22#define MXT_ROTATED_90 0x5
23#define QT602240_ROTATED_180 0x6 23#define MXT_ROTATED_180 0x6
24#define QT602240_DIAGONAL_COUNTER 0x7 24#define MXT_DIAGONAL_COUNTER 0x7
25 25
26/* The platform data for the AT42QT602240/ATMXT224 touchscreen driver */ 26/* The platform data for the Atmel maXTouch touchscreen driver */
27struct qt602240_platform_data { 27struct mxt_platform_data {
28 unsigned int x_line; 28 unsigned int x_line;
29 unsigned int y_line; 29 unsigned int y_line;
30 unsigned int x_size; 30 unsigned int x_size;
@@ -35,4 +35,4 @@ struct qt602240_platform_data {
35 unsigned char orient; 35 unsigned char orient;
36}; 36};
37 37
38#endif /* __LINUX_QT602240_TS_H */ 38#endif /* __LINUX_ATMEL_MXT_TS_H */