Skip to content

Commit 24fbacc

Browse files
Jean DelvareJean Delvare
authored andcommitted
i2c: Clean up Blackfin BF527 I2C device declarations
I2C_BOARD_INFO() now sets the type field so no need to set it separatetly. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Bryan Wu <cooloney@kernel.org>
1 parent 08851d6 commit 24fbacc

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • arch/blackfin/mach-bf527/boards

‎arch/blackfin/mach-bf527/boards/ezkit.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -799,13 +799,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = {
799799
#if defined(CONFIG_TWI_LCD) || defined(CONFIG_TWI_LCD_MODULE)
800800
{
801801
I2C_BOARD_INFO("pcf8574_lcd", 0x22),
802-
.type = "pcf8574_lcd",
803802
},
804803
#endif
805804
#if defined(CONFIG_TWI_KEYPAD) || defined(CONFIG_TWI_KEYPAD_MODULE)
806805
{
807806
I2C_BOARD_INFO("pcf8574_keypad", 0x27),
808-
.type = "pcf8574_keypad",
809807
.irq = IRQ_PF8,
810808
},
811809
#endif

0 commit comments

Comments
 (0)