summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-09-18 17:08:50 +0200
committerLee Jones <lee.jones@linaro.org>2012-09-20 12:32:44 +0200
commit65392b8253cbf10da5fcf45d855f27715fc30873 (patch)
tree0bb86e72ea2144378c1cfcbe6094552587e56b57 /arch/arm/mach-ux500
parent341976e79874c1059516dd2f99f2b10152f595da (diff)
downloadblackbird-obmc-linux-65392b8253cbf10da5fcf45d855f27715fc30873.tar.gz
blackbird-obmc-linux-65392b8253cbf10da5fcf45d855f27715fc30873.zip
ARM: ux500: Stop registering I2C sub-devices for HREF when DT is enabled
Here we remove all calls to register I2C sub-devices from platform code when Device Tree is enabled. Instead the I2C driver will parse the Device Tree for them. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r--arch/arm/mach-ux500/board-mop500.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index 671229e0b23c..3faedf07ed6a 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -824,15 +824,6 @@ static void __init u8500_init_machine(void)
platform_add_devices(mop500_platform_devs,
ARRAY_SIZE(mop500_platform_devs));
- hrefv60_sdi_init(parent);
-
- i2c0_devs = ARRAY_SIZE(mop500_i2c0_devices);
- i2c0_devs -= NUM_PRE_V60_I2C0_DEVICES;
-
- i2c_register_board_info(0, mop500_i2c0_devices, i2c0_devs);
- i2c_register_board_info(2, mop500_i2c2_devices,
- ARRAY_SIZE(mop500_i2c2_devices));
-
mop500_uib_init();
}
OpenPOWER on IntegriCloud