blackfin: Clean up duplicate I2C device type definitions
PATCH 1/1 blackfin: Clean up duplicate I2C device type definitions
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(-)
arch/blackfin/mach-bf527/boards/cm_bf527.c +0 -2
@@ -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
Signature · 1 line
Jean Delvare
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line · Jean Delvare
I2C_BOARD_INFO()already sets .type, no need to set it again.
thanks, ive merged this into the Blackfin tree
-mike