diff options
author | Jean Delvare <khali@linux-fr.org> | 2010-10-13 09:22:54 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 07:54:25 -0200 |
commit | 0a5f1f211f61d7e1b5a6d80314fdf98360ae577a (patch) | |
tree | 5f93aa48ed7ab13ef18adefcaa95f05d00c4d466 /drivers/media/video/hexium_gemini.c | |
parent | 2962fc0120dc73a17fdf350754c9a3c15726baaa (diff) | |
download | op-kernel-dev-0a5f1f211f61d7e1b5a6d80314fdf98360ae577a.zip op-kernel-dev-0a5f1f211f61d7e1b5a6d80314fdf98360ae577a.tar.gz |
[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_gemini.c')
-rw-r--r-- | drivers/media/video/hexium_gemini.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/hexium_gemini.c b/drivers/media/video/hexium_gemini.c index ad2c232..7ae9636 100644 --- a/drivers/media/video/hexium_gemini.c +++ b/drivers/media/video/hexium_gemini.c @@ -367,7 +367,6 @@ static int hexium_attach(struct saa7146_dev *dev, struct saa7146_pci_extension_d saa7146_write(dev, MC1, (MASK_08 | MASK_24 | MASK_10 | MASK_26)); hexium->i2c_adapter = (struct i2c_adapter) { - .class = I2C_CLASS_TV_ANALOG, .name = "hexium gemini", }; saa7146_i2c_adapter_prepare(dev, &hexium->i2c_adapter, SAA7146_I2C_BUS_BIT_RATE_480); |