mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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 <[email protected]> Acked-by: Mauro Carvalho Chehab <[email protected]> Cc: Adrian Bunk <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
8241cb1401
commit
a0d9c63d36
22 changed files with 6 additions and 32 deletions
|
|
@ -100,7 +100,6 @@ static struct i2c_algo_bit_data bttv_i2c_algo_bit_template = {
|
|||
.getsda = bttv_bit_getsda,
|
||||
.getscl = bttv_bit_getscl,
|
||||
.udelay = 16,
|
||||
.mdelay = 10,
|
||||
.timeout = 200,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -155,7 +155,6 @@ static struct i2c_algo_bit_data cx8800_i2c_algo_template = {
|
|||
.getsda = cx8800_bit_getsda,
|
||||
.getscl = cx8800_bit_getscl,
|
||||
.udelay = 16,
|
||||
.mdelay = 10,
|
||||
.timeout = 200,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -100,7 +100,6 @@ static struct i2c_algo_bit_data vp3054_i2c_algo_template = {
|
|||
.getsda = vp3054_bit_getsda,
|
||||
.getscl = vp3054_bit_getscl,
|
||||
.udelay = 16,
|
||||
.mdelay = 10,
|
||||
.timeout = 200,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -820,7 +820,6 @@ static struct i2c_algo_bit_data zoran_i2c_bit_data_template = {
|
|||
.getsda = zoran_i2c_getsda,
|
||||
.getscl = zoran_i2c_getscl,
|
||||
.udelay = 10,
|
||||
.mdelay = 0,
|
||||
.timeout = 100,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue