diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-07-18 10:54:03 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-09-16 21:31:53 -0400 |
commit | 8fc4dd9e876cbda4dfe09ca85e4e1520b36dce77 (patch) | |
tree | 7986dfa4f359b4f9a93049c6b73860af02bd233c /arch/blackfin/mach-bf527 | |
parent | 427f277e5f472b6c1bc444ef5f7d30ebe280420e (diff) |
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>
Diffstat (limited to 'arch/blackfin/mach-bf527')
-rw-r--r-- | arch/blackfin/mach-bf527/boards/cm_bf527.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf527/boards/cm_bf527.c b/arch/blackfin/mach-bf527/boards/cm_bf527.c index 3a620666bb87..85f9ac56c6c9 100644 --- a/arch/blackfin/mach-bf527/boards/cm_bf527.c +++ b/arch/blackfin/mach-bf527/boards/cm_bf527.c | |||
@@ -796,13 +796,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
796 | #if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_BFIN_TWI_LCD_MODULE) | 796 | #if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_BFIN_TWI_LCD_MODULE) |
797 | { | 797 | { |
798 | I2C_BOARD_INFO("pcf8574_lcd", 0x22), | 798 | I2C_BOARD_INFO("pcf8574_lcd", 0x22), |
799 | .type = "pcf8574_lcd", | ||
800 | }, | 799 | }, |
801 | #endif | 800 | #endif |
802 | #if defined(CONFIG_INPUT_PCF8574) || defined(CONFIG_INPUT_PCF8574_MODULE) | 801 | #if defined(CONFIG_INPUT_PCF8574) || defined(CONFIG_INPUT_PCF8574_MODULE) |
803 | { | 802 | { |
804 | I2C_BOARD_INFO("pcf8574_keypad", 0x27), | 803 | I2C_BOARD_INFO("pcf8574_keypad", 0x27), |
805 | .type = "pcf8574_keypad", | ||
806 | .irq = IRQ_PF8, | 804 | .irq = IRQ_PF8, |
807 | }, | 805 | }, |
808 | #endif | 806 | #endif |