aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/hdpvr/hdpvr-i2c.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-10-13 08:22:54 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 05:54:25 -0400
commit0a5f1f211f61d7e1b5a6d80314fdf98360ae577a (patch)
tree5f93aa48ed7ab13ef18adefcaa95f05d00c4d466 /drivers/media/video/hdpvr/hdpvr-i2c.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/hdpvr/hdpvr-i2c.c')
-rw-r--r--drivers/media/video/hdpvr/hdpvr-i2c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/hdpvr/hdpvr-i2c.c b/drivers/media/video/hdpvr/hdpvr-i2c.c
index 463b81bef6e2..409de11096d4 100644
--- a/drivers/media/video/hdpvr/hdpvr-i2c.c
+++ b/drivers/media/video/hdpvr/hdpvr-i2c.c
@@ -127,7 +127,6 @@ int hdpvr_register_i2c_adapter(struct hdpvr_device *dev)
127 strlcpy(i2c_adap->name, "Hauppauge HD PVR I2C", 127 strlcpy(i2c_adap->name, "Hauppauge HD PVR I2C",
128 sizeof(i2c_adap->name)); 128 sizeof(i2c_adap->name));
129 i2c_adap->algo = &hdpvr_algo; 129 i2c_adap->algo = &hdpvr_algo;
130 i2c_adap->class = I2C_CLASS_TV_ANALOG;
131 i2c_adap->owner = THIS_MODULE; 130 i2c_adap->owner = THIS_MODULE;
132 i2c_adap->dev.parent = &dev->udev->dev; 131 i2c_adap->dev.parent = &dev->udev->dev;
133 132