update cyapa_i2c_platfrom_data, remove relative mode supporting. (issue6902105)

dudl at cypress.com dudl at cypress.com
Thu Apr 28 03:00:50 EDT 2011


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 at cypress.com>

R=ccross at android.com,konkers at android.com,olof at lixom.net,linux at arm.linux.org.uk,linux-tegra at vger.kernel.org,linux-arm-kernel at lists.infradead.org,linux-kernel at vger.kernel.org,micahc at google.com,dudl at cypress.com,dso at cypress.com
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@chromeos-2.6.38

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,





More information about the linux-arm-kernel mailing list