OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
427f277
)
Blackfin: clean up duplicate I2C device type definitions
author
Jean Delvare
<khali@linux-fr.org>
Sat, 18 Jul 2009 14:54:03 +0000
(16:54 +0200)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 17 Sep 2009 01:31:53 +0000
(21:31 -0400)
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>
arch/blackfin/mach-bf527/boards/cm_bf527.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/mach-bf527/boards/cm_bf527.c
b/arch/blackfin/mach-bf527/boards/cm_bf527.c
index
3a62066
..
85f9ac5
100644
(file)
--- 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[] = {
#if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_BFIN_TWI_LCD_MODULE)
{
I2C_BOARD_INFO("pcf8574_lcd", 0x22),
- .type = "pcf8574_lcd",
},
#endif
#if defined(CONFIG_INPUT_PCF8574) || defined(CONFIG_INPUT_PCF8574_MODULE)
{
I2C_BOARD_INFO("pcf8574_keypad", 0x27),
- .type = "pcf8574_keypad",
.irq = IRQ_PF8,
},
#endif