summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx6/board-mx6q_sabreauto.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx6/board-mx6q_sabreauto.c')
-rw-r--r--arch/arm/mach-mx6/board-mx6q_sabreauto.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabreauto.c b/arch/arm/mach-mx6/board-mx6q_sabreauto.c
index 9034c1630171..08e523c968fb 100644
--- a/arch/arm/mach-mx6/board-mx6q_sabreauto.c
+++ b/arch/arm/mach-mx6/board-mx6q_sabreauto.c
@@ -435,15 +435,11 @@ static struct i2c_board_info mxc_i2c2_board_info[] __initdata = {
.platform_data = &sabr_ddc_dvi_data,
.irq = gpio_to_irq(MX6Q_SABREAUTO_DISP0_DET_INT),
},
-};
-
-static int p1003_ts_hw_status(void)
-{
- return gpio_get_value(MX6Q_SABREAUTO_CAP_TCH_INT);
-}
+ {
+ I2C_BOARD_INFO("egalax_ts", 0x4),
+ .irq = gpio_to_irq(MX6Q_SABREAUTO_CAP_TCH_INT),
+ },
-static struct p1003_ts_platform_data p1003_ts_data = {
- .hw_status = p1003_ts_hw_status,
};
static struct i2c_board_info mxc_i2c1_board_info[] __initdata = {
@@ -452,11 +448,6 @@ static struct i2c_board_info mxc_i2c1_board_info[] __initdata = {
.irq = gpio_to_irq(MX6Q_SABREAUTO_CAP_TCH_INT),
},
{
- I2C_BOARD_INFO("p1003_fwv33", 0x41),
- .irq = gpio_to_irq(MX6Q_SABREAUTO_CAP_TCH_INT),
- .platform_data = &p1003_ts_data,
- },
- {
I2C_BOARD_INFO("mxc_hdmi_i2c", 0x50),
},
};