Skip to content

Commit cbf4bd3

Browse files
Jean DelvareJean Delvare
authored andcommitted
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>
1 parent 3985c7c commit cbf4bd3

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

‎drivers/staging/tm6000/tm6000-i2c.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,6 @@ static struct i2c_algorithm tm6000_algo = {
320320

321321
static struct i2c_adapter tm6000_adap_template = {
322322
.owner = THIS_MODULE,
323-
.class = I2C_CLASS_TV_ANALOG | I2C_CLASS_TV_DIGITAL,
324323
.name = "tm6000",
325324
.algo = &tm6000_algo,
326325
};

‎include/linux/i2c.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,8 +407,6 @@ void i2c_unlock_adapter(struct i2c_adapter *);
407407

408408
/* i2c adapter classes (bitmask) */
409409
#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 */
412410
#define I2C_CLASS_DDC (1<<3) /* DDC bus on graphics adapters */
413411
#define I2C_CLASS_SPD (1<<7) /* SPD EEPROMs and similar */
414412

0 commit comments

Comments
 (0)