]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 733a7eea033649eb48653e512a96c1eb9ba8f42f..b2a12864007fa58e29460cd354c5fca775c63a44 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 04c2cd8d80f6dd479b9b952c25916558ed6756d1..101b455f3f0773b2367573f3d4784fed7ce248df 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 b62f2d5b4d1bf1a7c00bca8195151782b3e59749..efcb25da201f31a5d3301aca838a8a25148afdc7 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",
        },
 };