diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-ldp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-ldp.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index 155b423784c5..7482c7531ede 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -265,19 +265,9 @@ static struct twl4030_platform_data ldp_twldata = { | |||
265 | .keypad = &ldp_kp_twl4030_data, | 265 | .keypad = &ldp_kp_twl4030_data, |
266 | }; | 266 | }; |
267 | 267 | ||
268 | static struct i2c_board_info __initdata ldp_i2c_boardinfo[] = { | ||
269 | { | ||
270 | I2C_BOARD_INFO("twl4030", 0x48), | ||
271 | .flags = I2C_CLIENT_WAKE, | ||
272 | .irq = INT_34XX_SYS_NIRQ, | ||
273 | .platform_data = &ldp_twldata, | ||
274 | }, | ||
275 | }; | ||
276 | |||
277 | static int __init omap_i2c_init(void) | 268 | static int __init omap_i2c_init(void) |
278 | { | 269 | { |
279 | omap_register_i2c_bus(1, 2600, ldp_i2c_boardinfo, | 270 | omap3_pmic_init("twl4030", &ldp_twldata); |
280 | ARRAY_SIZE(ldp_i2c_boardinfo)); | ||
281 | omap_register_i2c_bus(2, 400, NULL, 0); | 271 | omap_register_i2c_bus(2, 400, NULL, 0); |
282 | omap_register_i2c_bus(3, 400, NULL, 0); | 272 | omap_register_i2c_bus(3, 400, NULL, 0); |
283 | return 0; | 273 | return 0; |