aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-07-14 16:38:31 -0400
committerJean Delvare <khali@mahadeva.delvare>2008-07-14 16:38:31 -0400
commite3e7fc3c401a5d53f0599a357b3cf65d6a4f52e3 (patch)
tree69f15b80e20490ede71f6ded32aa4aa8e435d098
parent0573d11b2bbd0e4774f33f4c1959c1939c055e96 (diff)
i2c-algo-pcf: Drop unused struct members
Struct members udelay and timeout aren't used anywhere, so drop them. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Eric Brower <ebrower@gmail.com>
-rw-r--r--drivers/i2c/busses/i2c-elektor.c2
-rw-r--r--include/linux/i2c-algo-pcf.h4
2 files changed, 0 insertions, 6 deletions
diff --git a/drivers/i2c/busses/i2c-elektor.c b/drivers/i2c/busses/i2c-elektor.c
index c251cf21a62b..7f38c01fb3a0 100644
--- a/drivers/i2c/busses/i2c-elektor.c
+++ b/drivers/i2c/busses/i2c-elektor.c
@@ -196,8 +196,6 @@ static struct i2c_algo_pcf_data pcf_isa_data = {
196 .getown = pcf_isa_getown, 196 .getown = pcf_isa_getown,
197 .getclock = pcf_isa_getclock, 197 .getclock = pcf_isa_getclock,
198 .waitforpin = pcf_isa_waitforpin, 198 .waitforpin = pcf_isa_waitforpin,
199 .udelay = 10,
200 .timeout = 100,
201}; 199};
202 200
203static struct i2c_adapter pcf_isa_ops = { 201static struct i2c_adapter pcf_isa_ops = {
diff --git a/include/linux/i2c-algo-pcf.h b/include/linux/i2c-algo-pcf.h
index 74fb6f889a77..0177d280f733 100644
--- a/include/linux/i2c-algo-pcf.h
+++ b/include/linux/i2c-algo-pcf.h
@@ -33,10 +33,6 @@ struct i2c_algo_pcf_data {
33 int (*getclock) (void *data); 33 int (*getclock) (void *data);
34 void (*waitforpin) (void); 34 void (*waitforpin) (void);
35 35
36 /* local settings */
37 int udelay;
38 int timeout;
39
40 /* Multi-master lost arbitration back-off delay (msecs) 36 /* Multi-master lost arbitration back-off delay (msecs)
41 * This should be set by the bus adapter or knowledgable client 37 * This should be set by the bus adapter or knowledgable client
42 * if bus is multi-mastered, else zero 38 * if bus is multi-mastered, else zero