summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/hexium_orion.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-10-13 09:22:54 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 07:54:25 -0200
commit0a5f1f211f61d7e1b5a6d80314fdf98360ae577a (patch)
tree5f93aa48ed7ab13ef18adefcaa95f05d00c4d466 /drivers/media/video/hexium_orion.c
parent2962fc0120dc73a17fdf350754c9a3c15726baaa (diff)
[media] i2c: Stop using I2C_CLASS_TV_ANALOG
Detection class I2C_CLASS_TV_ANALOG is set by a few adapters but no I2C device driver is setting it anymore, which means it can be dropped. I2C devices on analog 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/video/hexium_orion.c')
-rw-r--r--drivers/media/video/hexium_orion.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/hexium_orion.c b/drivers/media/video/hexium_orion.c
index 938a1f8f880..b72d0f0b831 100644
--- a/drivers/media/video/hexium_orion.c
+++ b/drivers/media/video/hexium_orion.c
@@ -230,7 +230,6 @@ static int hexium_probe(struct saa7146_dev *dev)
saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26));
hexium->i2c_adapter = (struct i2c_adapter) {
- .class = I2C_CLASS_TV_ANALOG,
.name = "hexium orion",
};
saa7146_i2c_adapter_prepare(dev, &hexium->i2c_adapter, SAA7146_I2C_BUS_BIT_RATE_480);