public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.4] I2C updates for 2.4.28 (4/5)
@ 2004-11-20 12:37 Jean Delvare
  0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2004-11-20 12:37 UTC (permalink / raw)
  To: Marcelo Tosatti, LKML

Two defined constants in include/linux/i2c.h aren't used anywhere,
haven't ever been and won't ever be. They simply don't correspond to
anything in the i2c core. Let's get rid of them.

Signed-off-by: Jean Delvare <khali@linux-fr.org>

--- linux-2.4.28-rc1/include/linux/i2c.h.orig	2004-10-27 23:45:50.000000000 +0200
+++ linux-2.4.28-rc1/include/linux/i2c.h	2004-10-29 19:28:38.000000000 +0200
@@ -47,11 +47,9 @@
 
 /* --- General options ------------------------------------------------	*/
 
-#define I2C_ALGO_MAX	4		/* control memory consumption	*/
-#define I2C_ADAP_MAX	16
+#define I2C_ADAP_MAX	16		/* control memory consumption	*/
 #define I2C_DRIVER_MAX	16
 #define I2C_CLIENT_MAX	32
-#define I2C_DUMMY_MAX 4
 
 struct i2c_algorithm;
 struct i2c_adapter;


-- 
Jean Delvare
http://khali.linux-fr.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-20 12:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-20 12:37 [PATCH 2.4] I2C updates for 2.4.28 (4/5) Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox