From af5dba980062a044e3f8b9fc61e72c0f5dd70f10 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Sat, 1 Nov 2008 00:38:05 -0700 Subject: [PATCH] H4: fix i2c registration Registering the I2C devices on H4 boards once is enough; remove the extra call. Signed-off-by: David Brownell Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/board-h4.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index e27da811603..b0252c85539 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c @@ -744,9 +744,6 @@ static void __init omap_h4_init(void) /* Menelaus interrupt */ omap_cfg_reg(W19_24XX_SYS_NIRQ); - i2c_register_board_info(1, h4_i2c_board_info, - ARRAY_SIZE(h4_i2c_board_info)); - platform_add_devices(h4_devices, ARRAY_SIZE(h4_devices)); omap_board_config = h4_config; omap_board_config_size = ARRAY_SIZE(h4_config); -- 2.41.1