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 <khali@linux-fr.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
committed by
Mike Frysinger
parent
427f277e5f
commit
8fc4dd9e87
@@ -796,13 +796,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = {
|
|||||||
#if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_BFIN_TWI_LCD_MODULE)
|
#if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_BFIN_TWI_LCD_MODULE)
|
||||||
{
|
{
|
||||||
I2C_BOARD_INFO("pcf8574_lcd", 0x22),
|
I2C_BOARD_INFO("pcf8574_lcd", 0x22),
|
||||||
.type = "pcf8574_lcd",
|
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_INPUT_PCF8574) || defined(CONFIG_INPUT_PCF8574_MODULE)
|
#if defined(CONFIG_INPUT_PCF8574) || defined(CONFIG_INPUT_PCF8574_MODULE)
|
||||||
{
|
{
|
||||||
I2C_BOARD_INFO("pcf8574_keypad", 0x27),
|
I2C_BOARD_INFO("pcf8574_keypad", 0x27),
|
||||||
.type = "pcf8574_keypad",
|
|
||||||
.irq = IRQ_PF8,
|
.irq = IRQ_PF8,
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user