[PATCH] I2C: Kill i2c_algorithm.id (4/7)
There are no more users of i2c_algorithm.id, so we can finally drop this structure member. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
87c3d7a8bc
commit
1d8b9e1bad
@@ -519,7 +519,6 @@ static u32 bit_func(struct i2c_adapter *adap)
|
||||
/* -----exported algorithm data: ------------------------------------- */
|
||||
|
||||
static struct i2c_algorithm i2c_bit_algo = {
|
||||
.id = I2C_ALGO_BIT,
|
||||
.master_xfer = bit_xfer,
|
||||
.functionality = bit_func,
|
||||
};
|
||||
|
@@ -713,7 +713,6 @@ static u32 iic_func(struct i2c_adapter *adap)
|
||||
/* -----exported algorithm data: ------------------------------------- */
|
||||
|
||||
static struct i2c_algorithm iic_algo = {
|
||||
.id = I2C_ALGO_IIC,
|
||||
.master_xfer = iic_xfer,
|
||||
.algo_control = algo_control, /* ioctl */
|
||||
.functionality = iic_func,
|
||||
|
@@ -356,7 +356,6 @@ static int pca_init(struct i2c_algo_pca_data *adap)
|
||||
}
|
||||
|
||||
static struct i2c_algorithm pca_algo = {
|
||||
.id = I2C_ALGO_PCA,
|
||||
.master_xfer = pca_xfer,
|
||||
.functionality = pca_func,
|
||||
};
|
||||
|
@@ -459,7 +459,6 @@ static u32 pcf_func(struct i2c_adapter *adap)
|
||||
/* -----exported algorithm data: ------------------------------------- */
|
||||
|
||||
static struct i2c_algorithm pcf_algo = {
|
||||
.id = I2C_ALGO_PCF,
|
||||
.master_xfer = pcf_xfer,
|
||||
.functionality = pcf_func,
|
||||
};
|
||||
|
@@ -158,7 +158,6 @@ static u32 sgi_func(struct i2c_adapter *adap)
|
||||
}
|
||||
|
||||
static struct i2c_algorithm sgi_algo = {
|
||||
.id = I2C_ALGO_SGI,
|
||||
.master_xfer = sgi_xfer,
|
||||
.functionality = sgi_func,
|
||||
};
|
||||
|
@@ -135,7 +135,6 @@ static u32 bit_func(struct i2c_adapter *adap)
|
||||
/* -----exported algorithm data: ------------------------------------- */
|
||||
|
||||
static struct i2c_algorithm i2c_sibyte_algo = {
|
||||
.id = I2C_ALGO_SIBYTE,
|
||||
.smbus_xfer = smbus_xfer,
|
||||
.algo_control = algo_control, /* ioctl */
|
||||
.functionality = bit_func,
|
||||
|
Reference in New Issue
Block a user