diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-overo.c')
-rw-r--r-- | arch/arm/mach-omap2/board-overo.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 4a02f8434f59..809d3944f549 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -540,19 +540,9 @@ static struct twl4030_platform_data overo_twldata = { | |||
540 | .vpll2 = &overo_vpll2, | 540 | .vpll2 = &overo_vpll2, |
541 | }; | 541 | }; |
542 | 542 | ||
543 | static struct i2c_board_info __initdata overo_i2c_boardinfo[] = { | ||
544 | { | ||
545 | I2C_BOARD_INFO("tps65950", 0x48), | ||
546 | .flags = I2C_CLIENT_WAKE, | ||
547 | .irq = INT_34XX_SYS_NIRQ, | ||
548 | .platform_data = &overo_twldata, | ||
549 | }, | ||
550 | }; | ||
551 | |||
552 | static int __init overo_i2c_init(void) | 543 | static int __init overo_i2c_init(void) |
553 | { | 544 | { |
554 | omap_register_i2c_bus(1, 2600, overo_i2c_boardinfo, | 545 | omap3_pmic_init("tps65950", &overo_twldata); |
555 | ARRAY_SIZE(overo_i2c_boardinfo)); | ||
556 | /* i2c2 pins are used for gpio */ | 546 | /* i2c2 pins are used for gpio */ |
557 | omap_register_i2c_bus(3, 400, NULL, 0); | 547 | omap_register_i2c_bus(3, 400, NULL, 0); |
558 | return 0; | 548 | return 0; |