summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-07-14 22:38:31 +0200
committerJean Delvare <khali@mahadeva.delvare>2008-07-14 22:38:31 +0200
commite3e7fc3c401a5d53f0599a357b3cf65d6a4f52e3 (patch)
tree69f15b80e20490ede71f6ded32aa4aa8e435d098
parent0573d11b2bbd0e4774f33f4c1959c1939c055e96 (diff)
downloadlinux-e3e7fc3c401a5d53f0599a357b3cf65d6a4f52e3.tar.gz
linux-e3e7fc3c401a5d53f0599a357b3cf65d6a4f52e3.tar.bz2
linux-e3e7fc3c401a5d53f0599a357b3cf65d6a4f52e3.zip
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 = {
.getown = pcf_isa_getown,
.getclock = pcf_isa_getclock,
.waitforpin = pcf_isa_waitforpin,
- .udelay = 10,
- .timeout = 100,
};
static 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 {
int (*getclock) (void *data);
void (*waitforpin) (void);
- /* local settings */
- int udelay;
- int timeout;
-
/* Multi-master lost arbitration back-off delay (msecs)
* This should be set by the bus adapter or knowledgable client
* if bus is multi-mastered, else zero