[PATCH 2.4] I2C updates for 2.4.29 (2/3)
While editing i2c-algo-bit.c and i2c-algo-pcf.c (see 1/3 of this patch set), I noticed that both files include header files they do not need at all (namely linux/ioport.h and asm/uaccess.h). The following patch cleans this, additionally bringing the files in line with what we have in i2c CVS (thus the blank lines changes). --- linux-2.4.29/drivers/i2c/i2c-algo-bit.c.orig2005-01-29 11:33:33.0 +0100 +++ linux-2.4.29/drivers/i2c/i2c-algo-bit.c 2005-01-29 11:35:39.0 +0100 @@ -28,14 +28,12 @@ #include #include #include -#include -#include #include #include - #include #include + /* - global defines --- */ #define DEB(x) if (i2c_debug>=1) x; #define DEB2(x) if (i2c_debug>=2) x; --- linux-2.4.29/drivers/i2c/i2c-algo-pcf.c.orig2005-01-29 11:33:40.0 +0100 +++ linux-2.4.29/drivers/i2c/i2c-algo-pcf.c 2005-01-29 11:35:45.0 +0100 @@ -32,15 +32,13 @@ #include #include #include -#include -#include #include #include - #include #include #include "i2c-pcf8584.h" + /* - global defines --- */ #define DEB(x) if (i2c_debug>=1) x #define DEB2(x) if (i2c_debug>=2) x -- Jean Delvare http://khali.linux-fr.org/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 2.4] I2C updates for 2.4.29 (2/3)
While editing i2c-algo-bit.c and i2c-algo-pcf.c (see 1/3 of this patch set), I noticed that both files include header files they do not need at all (namely linux/ioport.h and asm/uaccess.h). The following patch cleans this, additionally bringing the files in line with what we have in i2c CVS (thus the blank lines changes). --- linux-2.4.29/drivers/i2c/i2c-algo-bit.c.orig2005-01-29 11:33:33.0 +0100 +++ linux-2.4.29/drivers/i2c/i2c-algo-bit.c 2005-01-29 11:35:39.0 +0100 @@ -28,14 +28,12 @@ #include linux/delay.h #include linux/slab.h #include linux/init.h -#include asm/uaccess.h -#include linux/ioport.h #include linux/errno.h #include linux/sched.h - #include linux/i2c.h #include linux/i2c-algo-bit.h + /* - global defines --- */ #define DEB(x) if (i2c_debug=1) x; #define DEB2(x) if (i2c_debug=2) x; --- linux-2.4.29/drivers/i2c/i2c-algo-pcf.c.orig2005-01-29 11:33:40.0 +0100 +++ linux-2.4.29/drivers/i2c/i2c-algo-pcf.c 2005-01-29 11:35:45.0 +0100 @@ -32,15 +32,13 @@ #include linux/delay.h #include linux/slab.h #include linux/init.h -#include asm/uaccess.h -#include linux/ioport.h #include linux/errno.h #include linux/sched.h - #include linux/i2c.h #include linux/i2c-algo-pcf.h #include i2c-pcf8584.h + /* - global defines --- */ #define DEB(x) if (i2c_debug=1) x #define DEB2(x) if (i2c_debug=2) x -- Jean Delvare http://khali.linux-fr.org/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/