I2C_BOARD_INFO() already sets .type, no need to set it again.
Signed-off-by: Jean Delvare <[email protected]>
Cc: Mike Frysinger <[email protected]>
---
arch/blackfin/mach-bf527/boards/cm_bf527.c | 2 --
1 file changed, 2 deletions(-)
--- linux-2.6.31-rc3.orig/arch/blackfin/mach-bf527/boards/cm_bf527.c
2009-06-25 09:32:06.000000000 +0200
+++ linux-2.6.31-rc3/arch/blackfin/mach-bf527/boards/cm_bf527.c 2009-07-18
16:42:04.000000000 +0200
@@ -796,13 +796,11 @@ static struct i2c_board_info __initdata
#if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_TWI_LCD_MODULE)
{
I2C_BOARD_INFO("pcf8574_lcd", 0x22),
- .type = "pcf8574_lcd",
},
#endif
#if defined(CONFIG_TWI_KEYPAD) || defined(CONFIG_TWI_KEYPAD_MODULE)
{
I2C_BOARD_INFO("pcf8574_keypad", 0x27),
- .type = "pcf8574_keypad",
.irq = IRQ_PF8,
},
#endif
--
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html