]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
i2c: Drop unused I2C_CLASS_TV flags
authorJean Delvare <khali@linux-fr.org>
Sun, 31 Oct 2010 20:06:59 +0000 (21:06 +0100)
committerJean Delvare <khali@endymion.delvare>
Sun, 31 Oct 2010 20:06:59 +0000 (21:06 +0100)
There are no users left for I2C_CLASS_TV_ANALOG and
I2C_CLASS_TV_DIGITAL, so we can get rid of them.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/staging/tm6000/tm6000-i2c.c
include/linux/i2c.h

index 3e46866dd2791dc3b66724bd64e96836a1159dfd..93f625fc852b20d991012ffa6d61b05b693690a6 100644 (file)
@@ -320,7 +320,6 @@ static struct i2c_algorithm tm6000_algo = {
 
 static struct i2c_adapter tm6000_adap_template = {
        .owner = THIS_MODULE,
-       .class = I2C_CLASS_TV_ANALOG | I2C_CLASS_TV_DIGITAL,
        .name = "tm6000",
        .algo = &tm6000_algo,
 };
index 1f66fa06a97cae66e39d3ad6f6cef8fc221ea955..889b35abaedac162061d01872237de109d62dbbb 100644 (file)
@@ -407,8 +407,6 @@ void i2c_unlock_adapter(struct i2c_adapter *);
 
 /* i2c adapter classes (bitmask) */
 #define I2C_CLASS_HWMON                (1<<0)  /* lm_sensors, ... */
-#define I2C_CLASS_TV_ANALOG    (1<<1)  /* bttv + friends */
-#define I2C_CLASS_TV_DIGITAL   (1<<2)  /* dvb cards */
 #define I2C_CLASS_DDC          (1<<3)  /* DDC bus on graphics adapters */
 #define I2C_CLASS_SPD          (1<<7)  /* SPD EEPROMs and similar */