* [PATCH] blackfin: Clean up duplicate I2C device type definitions
@ 2009-07-18 14:54 Jean Delvare
[not found] ` <20090718165403.49a8e3d3-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2009-07-18 14:54 UTC (permalink / raw)
To: Mike Frysinger
Cc: Linux I2C, uclinux-dist-devel-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b,
Russell King - ARM Linux
I2C_BOARD_INFO() already sets .type, no need to set it again.
Signed-off-by: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
Cc: Mike Frysinger <vapier.adi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-18 19:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-18 14:54 [PATCH] blackfin: Clean up duplicate I2C device type definitions Jean Delvare
[not found] ` <20090718165403.49a8e3d3-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-07-18 19:05 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).