Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1745522c authored by Jean Delvare's avatar Jean Delvare
Browse files

i2c: Delete many unused adapter IDs



Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent e2ba42ed
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -137,10 +137,6 @@ struct intel_i2c_chan *intel_i2c_create(struct drm_device *dev, const u32 reg,
	chan->reg = reg;
	snprintf(chan->adapter.name, I2C_NAME_SIZE, "intel drm %s", name);
	chan->adapter.owner = THIS_MODULE;
#ifndef I2C_HW_B_INTELFB
#define I2C_HW_B_INTELFB I2C_HW_B_I810
#endif
	chan->adapter.id = I2C_HW_B_INTELFB;
	chan->adapter.algo_data	= &chan->algo;
	chan->adapter.dev.parent = &dev->pdev->dev;
	chan->algo.setsda = set_data;
+0 −1
Original line number Diff line number Diff line
@@ -83,7 +83,6 @@ static struct i2c_algo_bit_data ioc_data = {
};

static struct i2c_adapter ioc_ops = {
	.id			= I2C_HW_B_IOC,
	.algo_data		= &ioc_data,
};

+0 −1
Original line number Diff line number Diff line
@@ -476,7 +476,6 @@ static const struct i2c_algorithm smbus_algorithm = {

static struct i2c_adapter ali1535_adapter = {
	.owner		= THIS_MODULE,
	.id		= I2C_HW_SMBUS_ALI1535,
	.class          = I2C_CLASS_HWMON | I2C_CLASS_SPD,
	.algo		= &smbus_algorithm,
};
+0 −1
Original line number Diff line number Diff line
@@ -386,7 +386,6 @@ static const struct i2c_algorithm ali1563_algorithm = {

static struct i2c_adapter ali1563_adapter = {
	.owner	= THIS_MODULE,
	.id	= I2C_HW_SMBUS_ALI1563,
	.class	= I2C_CLASS_HWMON | I2C_CLASS_SPD,
	.algo	= &ali1563_algorithm,
};
+0 −1
Original line number Diff line number Diff line
@@ -473,7 +473,6 @@ static const struct i2c_algorithm smbus_algorithm = {

static struct i2c_adapter ali15x3_adapter = {
	.owner		= THIS_MODULE,
	.id		= I2C_HW_SMBUS_ALI15X3,
	.class          = I2C_CLASS_HWMON | I2C_CLASS_SPD,
	.algo		= &smbus_algorithm,
};
Loading