Loading drivers/media/video/tvmixer.c +0 −4 Original line number Diff line number Diff line Loading @@ -232,12 +232,8 @@ static struct i2c_driver driver = { #endif .name = "tv card mixer driver", .id = I2C_DRIVERID_TVMIXER, #ifdef I2C_DF_DUMMY .flags = I2C_DF_DUMMY, #else .flags = I2C_DF_NOTIFY, .detach_adapter = tvmixer_adapters, #endif .attach_adapter = tvmixer_adapters, .detach_client = tvmixer_clients, }; Loading include/linux/i2c.h +0 −5 Original line number Diff line number Diff line Loading @@ -252,11 +252,6 @@ static inline void i2c_set_adapdata (struct i2c_adapter *dev, void *data) /*flags for the driver struct: */ #define I2C_DF_NOTIFY 0x01 /* notify on bus (de/a)ttaches */ #if 0 /* this flag is gone -- there is a (optional) driver->detach_adapter * callback now which can be used instead */ # define I2C_DF_DUMMY 0x02 #endif /*flags for the client struct: */ #define I2C_CLIENT_ALLOW_USE 0x01 /* Client allows access */ Loading Loading
drivers/media/video/tvmixer.c +0 −4 Original line number Diff line number Diff line Loading @@ -232,12 +232,8 @@ static struct i2c_driver driver = { #endif .name = "tv card mixer driver", .id = I2C_DRIVERID_TVMIXER, #ifdef I2C_DF_DUMMY .flags = I2C_DF_DUMMY, #else .flags = I2C_DF_NOTIFY, .detach_adapter = tvmixer_adapters, #endif .attach_adapter = tvmixer_adapters, .detach_client = tvmixer_clients, }; Loading
include/linux/i2c.h +0 −5 Original line number Diff line number Diff line Loading @@ -252,11 +252,6 @@ static inline void i2c_set_adapdata (struct i2c_adapter *dev, void *data) /*flags for the driver struct: */ #define I2C_DF_NOTIFY 0x01 /* notify on bus (de/a)ttaches */ #if 0 /* this flag is gone -- there is a (optional) driver->detach_adapter * callback now which can be used instead */ # define I2C_DF_DUMMY 0x02 #endif /*flags for the client struct: */ #define I2C_CLIENT_ALLOW_USE 0x01 /* Client allows access */ Loading