[ARM] tegra: stingray: remove unwanted ALS platform variables from board file
authorPraveen Bharathi <pbharathi@motorola.com>
Wed, 1 Sep 2010 17:34:15 +0000 (12:34 -0500)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:50:56 +0000 (16:50 -0700)
Removed threshold boundaries as they are no longer needed.

Change-Id: Ie395f9042fbf3e61ca0c6ff448441f52fc5929f9
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
arch/arm/mach-tegra/board-stingray-sensors.c

index bff8698168d0f31c200116037c3090f7f09f27c7..11aef43c213425bb62ff02e69b3d477d5d92e113 100755 (executable)
@@ -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)