aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorManuel Lauss <manuel.lauss@googlemail.com>2011-10-22 07:34:37 -0400
committerBen Dooks <ben-linux@fluff.org>2011-10-29 06:14:17 -0400
commit85ea25698843d37b6f79927b2995644623fe1e06 (patch)
treebe95f6a5b45321cf150f583a590996f860e12a89 /drivers/i2c
parentc5de6467d2a54eb81b139f29b217d0394e8a790c (diff)
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 @@
52struct i2c_au1550_data { 52struct i2c_au1550_data {
53 void __iomem *psc_base; 53 void __iomem *psc_base;
54 int xfer_timeout; 54 int xfer_timeout;
55 int ack_timeout;
56 struct i2c_adapter adap; 55 struct i2c_adapter adap;
57 struct resource *ioarea; 56 struct resource *ioarea;
58}; 57};
@@ -346,7 +345,6 @@ i2c_au1550_probe(struct platform_device *pdev)
346 goto out_map; 345 goto out_map;
347 } 346 }
348 priv->xfer_timeout = 200; 347 priv->xfer_timeout = 200;
349 priv->ack_timeout = 200;
350 348
351 priv->adap.nr = pdev->id; 349 priv->adap.nr = pdev->id;
352 priv->adap.algo = &au1550_algo; 350 priv->adap.algo = &au1550_algo;