diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-01-27 17:14:47 (GMT) |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-01-27 17:14:47 (GMT) |
commit | 2caeac810423556a5ee787d5cb7aa902fda13bb4 (patch) | |
tree | 7003c88107d2eb4d08b8a07ca91c60d9dc1d4467 /drivers/i2c/busses/i2c-iop3xx.c | |
parent | 05c7abaeb344975a3257366a52368a4866aa518d (diff) | |
download | linux-fsl-qoriq-2caeac810423556a5ee787d5cb7aa902fda13bb4.tar.xz |
i2c: Don't uselessly 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>
Diffstat (limited to 'drivers/i2c/busses/i2c-iop3xx.c')
-rw-r--r-- | drivers/i2c/busses/i2c-iop3xx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-iop3xx.c b/drivers/i2c/busses/i2c-iop3xx.c index c70146e..ab41400 100644 --- a/drivers/i2c/busses/i2c-iop3xx.c +++ b/drivers/i2c/busses/i2c-iop3xx.c @@ -490,7 +490,6 @@ iop3xx_i2c_probe(struct platform_device *pdev) * Default values...should these come in from board code? */ new_adapter->timeout = 100; - new_adapter->retries = 3; new_adapter->algo = &iop3xx_i2c_algo; init_waitqueue_head(&adapter_data->waitq); |