summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/pt1
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-10-13 12:24:25 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 09:54:26 (GMT)
commita90f933507859941c4a58028d7593a80f57895c4 (patch)
tree53df96fbd0735f68a2a1c171e1189d156a321dbf /drivers/media/dvb/pt1
parent0a5f1f211f61d7e1b5a6d80314fdf98360ae577a (diff)
downloadlinux-a90f933507859941c4a58028d7593a80f57895c4.tar.xz
[media] i2c: Stop using I2C_CLASS_TV_DIGITAL
Detection class I2C_CLASS_TV_DIGITAL is set by many adapters but no I2C device driver is setting it anymore, which means it can be dropped. I2C devices on digital TV adapters are instantiated explicitly these days, which is much better. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/pt1')
-rw-r--r--drivers/media/dvb/pt1/pt1.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/dvb/pt1/pt1.c b/drivers/media/dvb/pt1/pt1.c
index 69ad949..0486919 100644
--- a/drivers/media/dvb/pt1/pt1.c
+++ b/drivers/media/dvb/pt1/pt1.c
@@ -1087,7 +1087,6 @@ pt1_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
pt1_update_power(pt1);
i2c_adap = &pt1->i2c_adap;
- i2c_adap->class = I2C_CLASS_TV_DIGITAL;
i2c_adap->algo = &pt1_i2c_algo;
i2c_adap->algo_data = NULL;
i2c_adap->dev.parent = &pdev->dev;