update cyapa_i2c_platfrom_data, remove relative mode supporting. (issue6902105)
From: dudl
Date: Thu Apr 28 2011 - 03:27:24 EST
Reviewers: ccross_android.com, konkers_android.com, olof_lixom.net,
linux_arm.linux.org.uk, linux-tegra_vger.kernel.org,
linux-arm-kernel_lists.infradead.org, linux-kernel_vger.kernel.org, Micah
C, dudl, dso_cypress.com,
Description:
update cyapa_i2c_platfrom_data, remove relative mode supporting.
Change-Id: Ic9fb8f11c8a4343ff7746f6f885e26d22e773830
Signed-off-by: Du, Dudley <dudl@xxxxxxxxxxx>
R=ccross@xxxxxxxxxxx,konkers@xxxxxxxxxxx,olof@xxxxxxxxx,linux@xxxxxxxxxxxxxxxx,linux-tegra@xxxxxxxxxxxxxxx,linux-arm-kernel@xxxxxxxxxxxxxxxxxxx,linux-kernel@xxxxxxxxxxxxxxx,micahc@xxxxxxxxxx,dudl@xxxxxxxxxxx,dso@xxxxxxxxxxx
BUG=
TEST=test on kaen board
1. becasuse relative mode is removed from cyapa driver, so setting for using
relative or absolute mode are also removed in platform data.
Please review this at http://codereview.chromium.org/6902105/
SVN Base: http://git.chromium.org/git/kernel-next.git@xxxxxxxxxxxxxxx
Affected files:
M arch/arm/mach-tegra/board-seaboard.c
Index: arch/arm/mach-tegra/board-seaboard.c
diff --git a/arch/arm/mach-tegra/board-seaboard.c
b/arch/arm/mach-tegra/board-seaboard.c
index
090ae201153aa6fdb87f7095e9b43ec65aa183d9..b52eec18d314ec75bb4a551baf3b19fce0ad274a
100644
--- a/arch/arm/mach-tegra/board-seaboard.c
+++ b/arch/arm/mach-tegra/board-seaboard.c
@@ -206,8 +206,6 @@ static struct cyapa_platform_data
cyapa_i2c_platform_data = {
.flag = 0,
.gen = CYAPA_GEN2,
.power_state = CYAPA_PWR_ACTIVE,
- .use_absolute_mode = false,
- .use_polling_mode = false,
.polling_interval_time_active = CYAPA_ACTIVE_POLLING_INTVAL_TIME,
.polling_interval_time_lowpower = CYAPA_LOWPOWER_POLLING_INTVAL_TIME,
.active_touch_timeout = CYAPA_ACTIVE_TOUCH_TIMEOUT,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/