summaryrefslogtreecommitdiff
path: root/v4l_experimental/v3tv/v3tv.c
diff options
context:
space:
mode:
Diffstat (limited to 'v4l_experimental/v3tv/v3tv.c')
-rw-r--r--v4l_experimental/v3tv/v3tv.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/v4l_experimental/v3tv/v3tv.c b/v4l_experimental/v3tv/v3tv.c
index 214034573..9029fa733 100644
--- a/v4l_experimental/v3tv/v3tv.c
+++ b/v4l_experimental/v3tv/v3tv.c
@@ -714,20 +714,8 @@ int v3tv_get_adapter(struct i2c_adapter *adapter)
if (debug)
printk(KERN_INFO "v3tv: v3tv_get_adapter trying: %s\n",
adapter->name);
-// if (I2C_CLASS_TV_ANALOG != adapter->class)
-// return 0;
-#ifdef I2C_CLASS_TV_ANALOG
if (!(adapter->class & I2C_CLASS_TV_ANALOG))
return 0;
-#else
- switch (adapter->id) {
- case I2C_ALGO_BIT | I2C_HW_B_VOO:
- if (!strnicmp(adapter->name, "I2C\0", 3))
- break;
- default:
- return 0;
- }
-#endif
if (debug)
printk(KERN_INFO "v3tv: i2c_attach_client found adapter: %s\n",
adapter->name);