summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/board-mop500.c
diff options
context:
space:
mode:
authorRobert Marklund <robert.marklund@stericsson.com>2011-11-21 15:13:19 +0100
committerLee Jones <lee.jones@linaro.org>2012-01-05 10:12:17 +0000
commite99c32743c8d3566e3459d62df2834fd29079312 (patch)
treedf3598657eacc8cc47491cd734970054d44e9151 /arch/arm/mach-ux500/board-mop500.c
parent236713bd8a71a9c150c981cf564278186a2cfa42 (diff)
ux500: Detect accelerometer i2c address on snowball
Snowball V7 and above the accelerometer changed i2c address and there is now way to detect that in runtime. So between V7 and V10 we need to probe for the right address. Change-Id: I39528ca40952a8a868b7aff6c3abd7668420850d Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.c')
-rw-r--r--arch/arm/mach-ux500/board-mop500.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index fd86ffdef91..dc20d6bc29e 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -1330,12 +1330,6 @@ static void __init hrefv60_init_machine(void)
i2c_register_board_info(2, mop500_i2c2_devices,
ARRAY_SIZE(mop500_i2c2_devices));
-#ifdef CONFIG_SENSORS_LSM303DLH
- /* Snowball want sensors, u8500 get them from stuib */
- if (machine_is_snowball())
- mop500_sensors_init();
-#endif
-
/* This board has full regulator constraints */
regulator_has_full_constraints();
}