Skip to content

Commit

Permalink
[PATCH] i2c: Drop unused per-i2c-algorithm adapter max
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean Delvare authored and Greg Kroah-Hartman committed Oct 28, 2005
1 parent 862bc36 commit d3554b4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions include/linux/i2c-algo-bit.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);

Expand Down
2 changes: 0 additions & 2 deletions include/linux/i2c-algo-pca.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);

Expand Down
2 changes: 0 additions & 2 deletions include/linux/i2c-algo-pcf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);

Expand Down

0 comments on commit d3554b4

Please sign in to comment.