V4L/DVB: tm6000: removed unused i2c adapter ID
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 15 Sep 2010 19:18:11 +0000 (16:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:06:05 +0000 (01:06 -0200)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-i2c.c

index 79bc67f0311fc1ffc892207b522cd7c35c9b97da..ba932593db20e702cd8606f44371ed801ac77d12 100644 (file)
@@ -32,8 +32,6 @@
 #include "tuner-xc2028.h"
 
 
-/*FIXME: Hack to avoid needing to patch i2c-id.h */
-#define I2C_HW_B_TM6000 I2C_HW_B_EM28XX
 /* ----------------------------------------------------------- */
 
 static unsigned int i2c_debug = 0;
@@ -324,7 +322,6 @@ static struct i2c_adapter tm6000_adap_template = {
        .owner = THIS_MODULE,
        .class = I2C_CLASS_TV_ANALOG | I2C_CLASS_TV_DIGITAL,
        .name = "tm6000",
-       .id = I2C_HW_B_TM6000,
        .algo = &tm6000_algo,
 };