summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorManuel Lauss <manuel.lauss@googlemail.com>2011-10-22 15:34:37 +0400
committerBen Dooks <ben-linux@fluff.org>2011-10-29 14:14:17 +0400
commit85ea25698843d37b6f79927b2995644623fe1e06 (patch)
treebe95f6a5b45321cf150f583a590996f860e12a89 /drivers/i2c
parentc5de6467d2a54eb81b139f29b217d0394e8a790c (diff)
downloadlinux-85ea25698843d37b6f79927b2995644623fe1e06.tar.xz
i2c-au1550: remove unused ack_timeout
The ack_timeout context member is unused, get rid of it. Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-au1550.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-au1550.c b/drivers/i2c/busses/i2c-au1550.c
index 70b027c9037d..98ee11aa9e2c 100644
--- a/drivers/i2c/busses/i2c-au1550.c
+++ b/drivers/i2c/busses/i2c-au1550.c
@@ -52,7 +52,6 @@
struct i2c_au1550_data {
void __iomem *psc_base;
int xfer_timeout;
- int ack_timeout;
struct i2c_adapter adap;
struct resource *ioarea;
};
@@ -346,7 +345,6 @@ i2c_au1550_probe(struct platform_device *pdev)
goto out_map;
}
priv->xfer_timeout = 200;
- priv->ack_timeout = 200;
priv->adap.nr = pdev->id;
priv->adap.algo = &au1550_algo;