aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/board-mop500.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-09-18 09:41:18 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-09-26 05:07:37 -0400
commitb5cbc510d5ef2433d8b23d11ce2e9e959411d00e (patch)
tree942a42acc77d77b863365f8dcc218f96776667f3 /arch/arm/mach-ux500/board-mop500.c
parentc316503b3ae4f30ae68735b2a89303f9653a7f42 (diff)
ARM: ux500: Remove Light sensor Rohm BH1780GLI when booting with ATAGs
It's time to remove all ATAG support from ux500 and rely solely on Device Tree booting. This patch is part of that endeavour. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.c')
-rw-r--r--arch/arm/mach-ux500/board-mop500.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index a8c22cd2f4b1..94df003aea4b 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -54,24 +54,6 @@ struct ab8500_platform_data ab8500_platdata = {
54 .regulator = &ab8500_regulator_plat_data, 54 .regulator = &ab8500_regulator_plat_data,
55}; 55};
56 56
57static struct i2c_board_info __initdata mop500_i2c2_devices[] = {
58 {
59 /* Light sensor Rohm BH1780GLI */
60 I2C_BOARD_INFO("bh1780", 0x29),
61 },
62};
63
64static int __init mop500_i2c_board_init(void)
65{
66 if (machine_is_u8500())
67 mop500_uib_i2c_add(0, mop500_i2c0_devices,
68 ARRAY_SIZE(mop500_i2c0_devices));
69 mop500_uib_i2c_add(2, mop500_i2c2_devices,
70 ARRAY_SIZE(mop500_i2c2_devices));
71 return 0;
72}
73device_initcall(mop500_i2c_board_init);
74
75static void __init mop500_i2c_init(struct device *parent) 57static void __init mop500_i2c_init(struct device *parent)
76{ 58{
77 db8500_add_i2c0(parent, NULL); 59 db8500_add_i2c0(parent, NULL);