aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-keywest.c1
-rw-r--r--drivers/i2c/busses/scx200_acb.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-keywest.c b/drivers/i2c/busses/i2c-keywest.c
index 5254d2db282c..e60ed6f49a62 100644
--- a/drivers/i2c/busses/i2c-keywest.c
+++ b/drivers/i2c/busses/i2c-keywest.c
@@ -619,7 +619,6 @@ create_iface(struct device_node *np, struct device *dev)
619 sprintf(chan->adapter.name, "%s %d", np->parent->name, i); 619 sprintf(chan->adapter.name, "%s %d", np->parent->name, i);
620 chan->iface = iface; 620 chan->iface = iface;
621 chan->chan_no = i; 621 chan->chan_no = i;
622 chan->adapter.id = I2C_ALGO_SMBUS;
623 chan->adapter.algo = &keywest_algorithm; 622 chan->adapter.algo = &keywest_algorithm;
624 chan->adapter.algo_data = NULL; 623 chan->adapter.algo_data = NULL;
625 chan->adapter.client_register = NULL; 624 chan->adapter.client_register = NULL;
diff --git a/drivers/i2c/busses/scx200_acb.c b/drivers/i2c/busses/scx200_acb.c
index 46b9a7594c99..a1d580e05361 100644
--- a/drivers/i2c/busses/scx200_acb.c
+++ b/drivers/i2c/busses/scx200_acb.c
@@ -454,7 +454,7 @@ static int __init scx200_acb_create(int base, int index)
454 i2c_set_adapdata(adapter, iface); 454 i2c_set_adapdata(adapter, iface);
455 snprintf(adapter->name, I2C_NAME_SIZE, "SCx200 ACB%d", index); 455 snprintf(adapter->name, I2C_NAME_SIZE, "SCx200 ACB%d", index);
456 adapter->owner = THIS_MODULE; 456 adapter->owner = THIS_MODULE;
457 adapter->id = I2C_ALGO_SMBUS; 457 adapter->id = I2C_HW_SMBUS_SCX200;
458 adapter->algo = &scx200_acb_algorithm; 458 adapter->algo = &scx200_acb_algorithm;
459 adapter->class = I2C_CLASS_HWMON; 459 adapter->class = I2C_CLASS_HWMON;
460 460