mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 05:54:23 +08:00
[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: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
862bc36f68
commit
d3554b4a2f
@ -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 *);
|
||||
|
||||
|
@ -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 *);
|
||||
|
||||
|
@ -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 *);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user