]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] i2c: Drop unused per-i2c-algorithm adapter max
authorJean Delvare <khali@linux-fr.org>
Fri, 7 Oct 2005 22:14:17 +0000 (00:14 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 21:02:10 +0000 (14:02 -0700)
There are no more per-i2c-algorithm adapter max. Last time there were
was in July 1999.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/i2c-algo-bit.h
include/linux/i2c-algo-pca.h
include/linux/i2c-algo-pcf.h

index fb592147caecbe3cbb24e54fc688e114c24848bf..c0e7fab28ce345dc0c48c0a430fc640077caa181 100644 (file)
@@ -44,8 +44,6 @@ struct i2c_algo_bit_data {
        int timeout;            /* in jiffies */
 };
 
-#define I2C_BIT_ADAP_MAX       16
-
 int i2c_bit_add_bus(struct i2c_adapter *);
 int i2c_bit_del_bus(struct i2c_adapter *);
 
index 941b786c5732fd0854edf3cd756ab59ff0c1af5b..226693e0d88bfe34c2c72e56a4e6748eefcb9a19 100644 (file)
@@ -9,8 +9,6 @@ struct i2c_algo_pca_data {
        int  (*wait_for_interrupt)      (struct i2c_algo_pca_data *adap);
 };
 
-#define I2C_PCA_ADAP_MAX       16
-
 int i2c_pca_add_bus(struct i2c_adapter *);
 int i2c_pca_del_bus(struct i2c_adapter *);
 
index a0e534b334a9142fa094bd21ca20c51ecb951842..18b0adf57a3d7d9ca26ac8b2ece2187fe9f35b2b 100644 (file)
@@ -39,8 +39,6 @@ struct i2c_algo_pcf_data {
        int timeout;
 };
 
-#define I2C_PCF_ADAP_MAX       16
-
 int i2c_pcf_add_bus(struct i2c_adapter *);
 int i2c_pcf_del_bus(struct i2c_adapter *);