diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-08-27 05:46:49 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-26 18:38:51 -0400 |
commit | a0d9c63d3640bd4fc90a408e8334754ef44bcf48 (patch) | |
tree | 6f34994fa1d325467453e2cc4d552b82eac7ce3f /drivers/media/video/cx88 | |
parent | 8241cb1401873e18bba746fd3f6c56ce4252a61f (diff) |
i2c-algo-bit: Discard the mdelay data struct member
i2c-algo-bit: Discard the mdelay data struct member
The i2c_algo_bit_data structure has an mdelay member, which is not
used by the algorithm code (the code has always been ifdef'd out.)
Let's discard it to save some code and memory.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/media/video/cx88')
-rw-r--r-- | drivers/media/video/cx88/cx88-i2c.c | 1 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-vp3054-i2c.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/cx88/cx88-i2c.c b/drivers/media/video/cx88/cx88-i2c.c index 70663805cc30..7bea34714861 100644 --- a/drivers/media/video/cx88/cx88-i2c.c +++ b/drivers/media/video/cx88/cx88-i2c.c | |||
@@ -155,7 +155,6 @@ static struct i2c_algo_bit_data cx8800_i2c_algo_template = { | |||
155 | .getsda = cx8800_bit_getsda, | 155 | .getsda = cx8800_bit_getsda, |
156 | .getscl = cx8800_bit_getscl, | 156 | .getscl = cx8800_bit_getscl, |
157 | .udelay = 16, | 157 | .udelay = 16, |
158 | .mdelay = 10, | ||
159 | .timeout = 200, | 158 | .timeout = 200, |
160 | }; | 159 | }; |
161 | 160 | ||
diff --git a/drivers/media/video/cx88/cx88-vp3054-i2c.c b/drivers/media/video/cx88/cx88-vp3054-i2c.c index 751a754a45e9..2b4f1970c7df 100644 --- a/drivers/media/video/cx88/cx88-vp3054-i2c.c +++ b/drivers/media/video/cx88/cx88-vp3054-i2c.c | |||
@@ -100,7 +100,6 @@ static struct i2c_algo_bit_data vp3054_i2c_algo_template = { | |||
100 | .getsda = vp3054_bit_getsda, | 100 | .getsda = vp3054_bit_getsda, |
101 | .getscl = vp3054_bit_getscl, | 101 | .getscl = vp3054_bit_getscl, |
102 | .udelay = 16, | 102 | .udelay = 16, |
103 | .mdelay = 10, | ||
104 | .timeout = 200, | 103 | .timeout = 200, |
105 | }; | 104 | }; |
106 | 105 | ||