Skip to contentSkip to conversation

i2c-algo-pcf: Discard the mdelay data

PATCH New Greg KH 1 participant 1 message Sep 27, 2006 I2C subsystem host drivers

lore
Share & tools
lore

Greg KH

author
#0 lore raw

PATCH 22/30 i2c-algo-pcf: Discard the mdelay data

From: Adrian Bunk <bunk at stusta.de>

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 at stusta.de>
Signed-off-by Jean Delvare <khali at linux-fr.org>
Signed-off-by Greg Kroah-Hartman <gregkh at suse.de>
---
 drivers/i2c/busses/i2c-elektor.c |    1 -
 include/linux/i2c-algo-pcf.h     |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
drivers/i2c/busses/i2c-elektor.c +0 -1
index 59f8308..caa8e5c 100644
@@ -196,7 +196,6 @@ static struct i2c_algo_pcf_data pcf_isa_
 	.getclock   = pcf_isa_getclock,
 	.waitforpin = pcf_isa_waitforpin,
 	.udelay	    = 10,
-	.mdelay	    = 10,
 	.timeout    = 100,
 };
 
include/linux/i2c-algo-pcf.h +0 -1
index 18b0adf..9908f3f 100644
@@ -35,7 +35,6 @@ struct i2c_algo_pcf_data {
 
 	/* local settings */
 	int udelay;
-	int mdelay;
 	int timeout;
 };
 
Signature · 1 line
1.4.2.1