aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-10-31 16:06:59 -0400
committerJean Delvare <khali@endymion.delvare>2010-10-31 16:06:59 -0400
commitcbf4bd380a9caa72118525eabe7b82c6a3c8da78 (patch)
treefb9eb94db042226d3f62638c2aa740a85f6d37f6
parent3985c7ce85039adacdf882904ca096f091d39346 (diff)
i2c: Drop unused I2C_CLASS_TV flags
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>
-rw-r--r--drivers/staging/tm6000/tm6000-i2c.c1
-rw-r--r--include/linux/i2c.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/tm6000/tm6000-i2c.c b/drivers/staging/tm6000/tm6000-i2c.c
index 3e46866dd279..93f625fc852b 100644
--- a/drivers/staging/tm6000/tm6000-i2c.c
+++ b/drivers/staging/tm6000/tm6000-i2c.c
@@ -320,7 +320,6 @@ static struct i2c_algorithm tm6000_algo = {
320 320
321static struct i2c_adapter tm6000_adap_template = { 321static struct i2c_adapter tm6000_adap_template = {
322 .owner = THIS_MODULE, 322 .owner = THIS_MODULE,
323 .class = I2C_CLASS_TV_ANALOG | I2C_CLASS_TV_DIGITAL,
324 .name = "tm6000", 323 .name = "tm6000",
325 .algo = &tm6000_algo, 324 .algo = &tm6000_algo,
326}; 325};
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 1f66fa06a97c..889b35abaeda 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -407,8 +407,6 @@ void i2c_unlock_adapter(struct i2c_adapter *);
407 407
408/* i2c adapter classes (bitmask) */ 408/* i2c adapter classes (bitmask) */
409#define I2C_CLASS_HWMON (1<<0) /* lm_sensors, ... */ 409#define I2C_CLASS_HWMON (1<<0) /* lm_sensors, ... */
410#define I2C_CLASS_TV_ANALOG (1<<1) /* bttv + friends */
411#define I2C_CLASS_TV_DIGITAL (1<<2) /* dvb cards */
412#define I2C_CLASS_DDC (1<<3) /* DDC bus on graphics adapters */ 410#define I2C_CLASS_DDC (1<<3) /* DDC bus on graphics adapters */
413#define I2C_CLASS_SPD (1<<7) /* SPD EEPROMs and similar */ 411#define I2C_CLASS_SPD (1<<7) /* SPD EEPROMs and similar */
414 412