From d6196a6f5ee475f2b197a6fa36c2f7b0b299f0e8 Mon Sep 17 00:00:00 2001 From: Praveen Bharathi Date: Wed, 1 Sep 2010 12:34:15 -0500 Subject: [PATCH] [ARM] tegra: stingray: remove unwanted ALS platform variables from board file Removed threshold boundaries as they are no longer needed. Change-Id: Ie395f9042fbf3e61ca0c6ff448441f52fc5929f9 Signed-off-by: Praveen Bharathi --- arch/arm/mach-tegra/board-stingray-sensors.c | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/arch/arm/mach-tegra/board-stingray-sensors.c b/arch/arm/mach-tegra/board-stingray-sensors.c index bff8698168d0..11aef43c2134 100755 --- a/arch/arm/mach-tegra/board-stingray-sensors.c +++ b/arch/arm/mach-tegra/board-stingray-sensors.c @@ -214,22 +214,11 @@ static void stingray_kxtf9_init(void) gpio_direction_input(KXTF9_IRQ_GPIO); } -struct max9635_als_zone_data stingray_zone_data[] = { - { 0x00, 0x57}, - { 0x58, 0x95}, - { 0xa3, 0xa4}, - { 0xa5, 0xab}, - { 0xac, 0xef}, -}; - struct max9635_platform_data stingray_max9635_pdata = { - .configure = 0x4c, - .threshold_timer = 0x00, - .def_low_threshold = 0x58, - .def_high_threshold = 0x95, - .lens_percent_t = 100, - .als_lux_table = stingray_zone_data, - .num_of_zones = ARRAY_SIZE(stingray_zone_data), + .configure = 0x80, + .threshold_timer = 0x14, + .def_low_threshold = 0x00, + .def_high_threshold = 0x01, }; static int stingray_max9635_init(void) -- 2.34.1