[i2c] [PATCH 05/13] i2c-algo-pcf: Discard the mdelay data struct member
Jean Delvare
khali at linux-fr.org
Sun Sep 3 22:22:50 CEST 2006
From: Adrian Bunk <bunk at stusta.de>
Content-Disposition: inline; filename=i2c-algo-pcf-kill-mdelay.patch
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>
---
drivers/i2c/busses/i2c-elektor.c | 1 -
include/linux/i2c-algo-pcf.h | 1 -
2 files changed, 2 deletions(-)
--- linux-2.6.18-rc4.orig/include/linux/i2c-algo-pcf.h 2006-08-27 10:44:33.000000000 +0200
+++ linux-2.6.18-rc4/include/linux/i2c-algo-pcf.h 2006-08-27 11:47:33.000000000 +0200
@@ -35,7 +35,6 @@
/* local settings */
int udelay;
- int mdelay;
int timeout;
};
--- linux-2.6.18-rc4.orig/drivers/i2c/busses/i2c-elektor.c 2006-08-27 11:11:57.000000000 +0200
+++ linux-2.6.18-rc4/drivers/i2c/busses/i2c-elektor.c 2006-08-27 11:47:50.000000000 +0200
@@ -196,7 +196,6 @@
.getclock = pcf_isa_getclock,
.waitforpin = pcf_isa_waitforpin,
.udelay = 10,
- .mdelay = 10,
.timeout = 100,
};
--
Jean Delvare
More information about the i2c
mailing list