Commit d3554b4a authored by Jean Delvare's avatar Jean Delvare Committed by Greg Kroah-Hartman
Browse files

[PATCH] i2c: Drop unused per-i2c-algorithm adapter max



There are no more per-i2c-algorithm adapter max. Last time there were
was in July 1999.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 862bc36f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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 *);

+0 −2
Original line number Diff line number Diff line
@@ -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 *);

+0 −2
Original line number Diff line number Diff line
@@ -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 *);