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

[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: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 87c3d7a8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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,
};
+0 −1
Original line number Diff line number Diff line
@@ -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,
+0 −1
Original line number Diff line number Diff line
@@ -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,
};
+0 −1
Original line number Diff line number Diff line
@@ -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,
};
+0 −1
Original line number Diff line number Diff line
@@ -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,
};
Loading