forked from Minki/linux
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>
This commit is contained in:
parent
7b288a018a
commit
9b4ccb86b4
@ -196,7 +196,6 @@ static struct i2c_algo_pcf_data pcf_isa_data = {
|
||||
.getclock = pcf_isa_getclock,
|
||||
.waitforpin = pcf_isa_waitforpin,
|
||||
.udelay = 10,
|
||||
.mdelay = 10,
|
||||
.timeout = 100,
|
||||
};
|
||||
|
||||
|
@ -35,7 +35,6 @@ struct i2c_algo_pcf_data {
|
||||
|
||||
/* local settings */
|
||||
int udelay;
|
||||
int mdelay;
|
||||
int timeout;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user