summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/mantis
diff options
context:
space:
mode:
authorJean Delvare2010-10-13 14:24:25 +0200
committerMauro Carvalho Chehab2010-10-21 11:54:26 +0200
commita90f933507859941c4a58028d7593a80f57895c4 (patch)
tree53df96fbd0735f68a2a1c171e1189d156a321dbf /drivers/media/dvb/mantis
parent[media] i2c: Stop using I2C_CLASS_TV_ANALOG (diff)
downloadkernel-qcow2-linux-a90f933507859941c4a58028d7593a80f57895c4.tar.gz
kernel-qcow2-linux-a90f933507859941c4a58028d7593a80f57895c4.tar.xz
kernel-qcow2-linux-a90f933507859941c4a58028d7593a80f57895c4.zip
[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/mantis')
-rw-r--r--drivers/media/dvb/mantis/mantis_i2c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/dvb/mantis/mantis_i2c.c b/drivers/media/dvb/mantis/mantis_i2c.c
index 7870bcf9689a..e7794517fe26 100644
--- a/drivers/media/dvb/mantis/mantis_i2c.c
+++ b/drivers/media/dvb/mantis/mantis_i2c.c
@@ -229,7 +229,6 @@ int __devinit mantis_i2c_init(struct mantis_pci *mantis)
i2c_set_adapdata(i2c_adapter, mantis);
i2c_adapter->owner = THIS_MODULE;
- i2c_adapter->class = I2C_CLASS_TV_DIGITAL;
i2c_adapter->algo = &mantis_algo;
i2c_adapter->algo_data = NULL;
i2c_adapter->timeout = 500;