diff options
author | Jean Delvare <khali@linux-fr.org> | 2010-10-13 08:24:25 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 05:54:26 -0400 |
commit | a90f933507859941c4a58028d7593a80f57895c4 (patch) | |
tree | 53df96fbd0735f68a2a1c171e1189d156a321dbf /drivers/media/dvb/ttusb-budget | |
parent | 0a5f1f211f61d7e1b5a6d80314fdf98360ae577a (diff) |
[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/ttusb-budget')
-rw-r--r-- | drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c index 4a3f2b8ea37d..40625b26ac10 100644 --- a/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c +++ b/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | |||
@@ -1694,7 +1694,6 @@ static int ttusb_probe(struct usb_interface *intf, const struct usb_device_id *i | |||
1694 | 1694 | ||
1695 | i2c_set_adapdata(&ttusb->i2c_adap, ttusb); | 1695 | i2c_set_adapdata(&ttusb->i2c_adap, ttusb); |
1696 | 1696 | ||
1697 | ttusb->i2c_adap.class = I2C_CLASS_TV_DIGITAL; | ||
1698 | ttusb->i2c_adap.algo = &ttusb_dec_algo; | 1697 | ttusb->i2c_adap.algo = &ttusb_dec_algo; |
1699 | ttusb->i2c_adap.algo_data = NULL; | 1698 | ttusb->i2c_adap.algo_data = NULL; |
1700 | ttusb->i2c_adap.dev.parent = &udev->dev; | 1699 | ttusb->i2c_adap.dev.parent = &udev->dev; |