]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[I2C] i2c-mv64xxx: Don't set i2c_adapter.retries
authorJean Delvare <khali@linux-fr.org>
Thu, 22 Nov 2007 15:58:08 +0000 (16:58 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Jan 2008 15:04:01 +0000 (15:04 +0000)
commit2f0a8df40ff008822e5570b3323c56622cd92c95
treebfb22fc90d83f57b67255bb8c2c3ac676364e54c
parenta0832798c05241f15e793805b6024919c07b8292
[I2C] i2c-mv64xxx: Don't set i2c_adapter.retries

I2C adapter drivers are supposed to handle retries on nack by themselves
if they do, so there's no point in setting .retries if they don't.

As this retry mechanism is going away (at least in its current form),
clean this up now so that we don't get build failures later.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Mark A. Greer <mgreer@mvista.com>
arch/powerpc/sysdev/mv64x60_dev.c
arch/ppc/syslib/mv64x60.c
drivers/i2c/busses/i2c-mv64xxx.c
include/linux/mv643xx_i2c.h