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>
This commit is contained in:
committed by
Jean Delvare
parent
0573d11b2b
commit
e3e7fc3c40
@@ -196,8 +196,6 @@ static struct i2c_algo_pcf_data pcf_isa_data = {
|
|||||||
.getown = pcf_isa_getown,
|
.getown = pcf_isa_getown,
|
||||||
.getclock = pcf_isa_getclock,
|
.getclock = pcf_isa_getclock,
|
||||||
.waitforpin = pcf_isa_waitforpin,
|
.waitforpin = pcf_isa_waitforpin,
|
||||||
.udelay = 10,
|
|
||||||
.timeout = 100,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct i2c_adapter pcf_isa_ops = {
|
static struct i2c_adapter pcf_isa_ops = {
|
||||||
|
@@ -33,10 +33,6 @@ struct i2c_algo_pcf_data {
|
|||||||
int (*getclock) (void *data);
|
int (*getclock) (void *data);
|
||||||
void (*waitforpin) (void);
|
void (*waitforpin) (void);
|
||||||
|
|
||||||
/* local settings */
|
|
||||||
int udelay;
|
|
||||||
int timeout;
|
|
||||||
|
|
||||||
/* Multi-master lost arbitration back-off delay (msecs)
|
/* Multi-master lost arbitration back-off delay (msecs)
|
||||||
* This should be set by the bus adapter or knowledgable client
|
* This should be set by the bus adapter or knowledgable client
|
||||||
* if bus is multi-mastered, else zero
|
* if bus is multi-mastered, else zero
|
||||||
|
Reference in New Issue
Block a user