I2C: Remove .type field
authorTony Lindgren <tony@atomide.com>
Mon, 12 May 2008 21:58:02 +0000 (14:58 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 12 May 2008 22:35:33 +0000 (15:35 -0700)
As done for mainline board-*.c files in patch
3760f736716f74bdc62a4ba5406934338da93eb2.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-h3.c
arch/arm/mach-omap2/board-h4.c
arch/arm/mach-omap2/board-n800.c

index 733a7ee..b2a1286 100644 (file)
@@ -612,7 +612,6 @@ static struct i2c_board_info __initdata h3_i2c_board_info[] = {
 #endif
        {
                I2C_BOARD_INFO("isp1301_omap", 0x2d),
-               .type           = "isp1301_omap",
                .irq            = OMAP_GPIO_IRQ(14),
        },
 };
index 04c2cd8..101b455 100644 (file)
@@ -644,8 +644,7 @@ static struct ov9640_platform_data h4_ov9640_platform_data = {
 
 static struct i2c_board_info __initdata h4_i2c_board_info[] = {
        {
-               I2C_BOARD_INFO("rtc-rs5c372", 0x32),
-               .type = "rv5c387a",
+               I2C_BOARD_INFO("rv5c387a", 0x32),
                /* no IRQ wired to OMAP; nINTB goes to AGPS */
        },
        {
@@ -654,7 +653,6 @@ static struct i2c_board_info __initdata h4_i2c_board_info[] = {
        },
        {
                I2C_BOARD_INFO("isp1301_omap", 0x2d),
-               .type           = "isp1301_omap",
                .irq            = OMAP_GPIO_IRQ(125),
        },
 #if defined(CONFIG_VIDEO_OV9640) || defined(CONFIG_VIDEO_OV9640_MODULE)
index b62f2d5..efcb25d 100644 (file)
@@ -657,18 +657,15 @@ static struct i2c_board_info __initdata n800_i2c_board_info_2[] = {
 #ifdef CONFIG_MACH_NOKIA_N810
        {
                I2C_BOARD_INFO("lm8323", 0x45),
-               .type           = "lm8323",
                .irq            = OMAP_GPIO_IRQ(109),
                .platform_data  = &lm8323_pdata,
        },
 #endif
        {
                I2C_BOARD_INFO("tsl2563", 0x29),
-               .type           = "tsl2563",
        },
        {
                I2C_BOARD_INFO("lp5521", 0x32),
-               .type           = "lp5521",
        },
 };