提交 6a23a520 编写于 作者: M Mauro Carvalho Chehab

[media] cx88: Remove the obsolete i2c_adapter.id field

Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 d7c72356
...@@ -146,7 +146,6 @@ int cx88_i2c_init(struct cx88_core *core, struct pci_dev *pci) ...@@ -146,7 +146,6 @@ int cx88_i2c_init(struct cx88_core *core, struct pci_dev *pci)
core->i2c_adap.dev.parent = &pci->dev; core->i2c_adap.dev.parent = &pci->dev;
strlcpy(core->i2c_adap.name,core->name,sizeof(core->i2c_adap.name)); strlcpy(core->i2c_adap.name,core->name,sizeof(core->i2c_adap.name));
core->i2c_adap.owner = THIS_MODULE; core->i2c_adap.owner = THIS_MODULE;
core->i2c_adap.id = I2C_HW_B_CX2388x;
core->i2c_algo.udelay = i2c_udelay; core->i2c_algo.udelay = i2c_udelay;
core->i2c_algo.data = core; core->i2c_algo.data = core;
i2c_set_adapdata(&core->i2c_adap, &core->v4l2_dev); i2c_set_adapdata(&core->i2c_adap, &core->v4l2_dev);
......
...@@ -125,7 +125,6 @@ int vp3054_i2c_probe(struct cx8802_dev *dev) ...@@ -125,7 +125,6 @@ int vp3054_i2c_probe(struct cx8802_dev *dev)
strlcpy(vp3054_i2c->adap.name, core->name, strlcpy(vp3054_i2c->adap.name, core->name,
sizeof(vp3054_i2c->adap.name)); sizeof(vp3054_i2c->adap.name));
vp3054_i2c->adap.owner = THIS_MODULE; vp3054_i2c->adap.owner = THIS_MODULE;
vp3054_i2c->adap.id = I2C_HW_B_CX2388x;
vp3054_i2c->algo.data = dev; vp3054_i2c->algo.data = dev;
i2c_set_adapdata(&vp3054_i2c->adap, dev); i2c_set_adapdata(&vp3054_i2c->adap, dev);
vp3054_i2c->adap.algo_data = &vp3054_i2c->algo; vp3054_i2c->adap.algo_data = &vp3054_i2c->algo;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册