[media] cx88: Remove the obsolete i2c_adapter.id field
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 30 Dec 2010 12:05:12 +0000 (09:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 30 Dec 2010 14:17:19 +0000 (12:17 -0200)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx88/cx88-i2c.c
drivers/media/video/cx88/cx88-vp3054-i2c.c

index f53836bb6a5a1322753d0e3938251be9fb791ba9..a1fe0abb6e43051c49d36b964e5a3069809219c7 100644 (file)
@@ -146,7 +146,6 @@ int cx88_i2c_init(struct cx88_core *core, struct pci_dev *pci)
        core->i2c_adap.dev.parent = &pci->dev;
        strlcpy(core->i2c_adap.name,core->name,sizeof(core->i2c_adap.name));
        core->i2c_adap.owner = THIS_MODULE;
-       core->i2c_adap.id = I2C_HW_B_CX2388x;
        core->i2c_algo.udelay = i2c_udelay;
        core->i2c_algo.data = core;
        i2c_set_adapdata(&core->i2c_adap, &core->v4l2_dev);
index ec5476d8b10bf7c7f711e39ddfe0953d6922c866..d77f8ecab9d7e6d7c4cc8eaad534dcf0d3c72188 100644 (file)
@@ -125,7 +125,6 @@ int vp3054_i2c_probe(struct cx8802_dev *dev)
        strlcpy(vp3054_i2c->adap.name, core->name,
                sizeof(vp3054_i2c->adap.name));
        vp3054_i2c->adap.owner = THIS_MODULE;
-       vp3054_i2c->adap.id = I2C_HW_B_CX2388x;
        vp3054_i2c->algo.data = dev;
        i2c_set_adapdata(&vp3054_i2c->adap, dev);
        vp3054_i2c->adap.algo_data = &vp3054_i2c->algo;