]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
i2c-algo-pcf: Discard the mdelay data struct member
authorAdrian Bunk <bunk@stusta.de>
Sun, 3 Sep 2006 20:22:50 +0000 (22:22 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Sep 2006 22:38:52 +0000 (15:38 -0700)
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>
drivers/i2c/busses/i2c-elektor.c
include/linux/i2c-algo-pcf.h

index 59f8308c2356cc834f9015074bfb196b4e09312b..caa8e5c8bfbbdc6f8d4cfc844b59237466867e6d 100644 (file)
@@ -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,
 };
 
index 18b0adf57a3d7d9ca26ac8b2ece2187fe9f35b2b..9908f3fc48396289f9d831c1ae33e4a4a26db932 100644 (file)
@@ -35,7 +35,6 @@ struct i2c_algo_pcf_data {
 
        /* local settings */
        int udelay;
-       int mdelay;
        int timeout;
 };