[PATCH] blackfin: Clean up duplicate I2C device type definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I2C_BOARD_INFO() already sets .type, no need to set it again.

Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>
Cc: Mike Frysinger <vapier.adi@xxxxxxxxx>
---
 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux