diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-09-03 16:22:50 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-26 18:38:52 -0400 |
commit | 9b4ccb86b4abe644ffd218720da2f942b6a20fc2 (patch) | |
tree | c7f299c9956acb9174d99f9da904298672905569 | |
parent | 7b288a018ac563f5babe0818f581d8f8a4fdcbfb (diff) |
i2c-algo-pcf: Discard the mdelay data struct member
i2c-algo-pcf: Discard the mdelay data struct member
Just as i2c-algo-bit, i2c-algo-pcf has an unused mdelay struct member,
which we can get rid of to spare some code and memory.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/i2c/busses/i2c-elektor.c | 1 | ||||
-rw-r--r-- | include/linux/i2c-algo-pcf.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-elektor.c b/drivers/i2c/busses/i2c-elektor.c index 59f8308c2356..caa8e5c8bfbb 100644 --- a/drivers/i2c/busses/i2c-elektor.c +++ b/drivers/i2c/busses/i2c-elektor.c | |||
@@ -196,7 +196,6 @@ static struct i2c_algo_pcf_data pcf_isa_data = { | |||
196 | .getclock = pcf_isa_getclock, | 196 | .getclock = pcf_isa_getclock, |
197 | .waitforpin = pcf_isa_waitforpin, | 197 | .waitforpin = pcf_isa_waitforpin, |
198 | .udelay = 10, | 198 | .udelay = 10, |
199 | .mdelay = 10, | ||
200 | .timeout = 100, | 199 | .timeout = 100, |
201 | }; | 200 | }; |
202 | 201 | ||
diff --git a/include/linux/i2c-algo-pcf.h b/include/linux/i2c-algo-pcf.h index 18b0adf57a3d..9908f3fc4839 100644 --- a/include/linux/i2c-algo-pcf.h +++ b/include/linux/i2c-algo-pcf.h | |||
@@ -35,7 +35,6 @@ struct i2c_algo_pcf_data { | |||
35 | 35 | ||
36 | /* local settings */ | 36 | /* local settings */ |
37 | int udelay; | 37 | int udelay; |
38 | int mdelay; | ||
39 | int timeout; | 38 | int timeout; |
40 | }; | 39 | }; |
41 | 40 | ||