diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-08-11 17:41:56 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-05 12:14:31 -0400 |
commit | c7a46533ff7ef9e1c51bae6e54208527c5275b24 (patch) | |
tree | 4b952a757d60d9cfa4aad8462ee8ef7e03fec6dd /drivers/media/video/tvmixer.c | |
parent | 1d8b9e1bad35fa3ea829990b9056c2a257d8fe79 (diff) |
[PATCH] I2C: Kill i2c_algorithm.id (5/7)
Merge the algorithm id part (16 upper bits) of the i2c adapters ids
into the definition of the adapters ids directly. After that, we don't
need to OR both ids together for each i2c_adapter structure.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/media/video/tvmixer.c')
-rw-r--r-- | drivers/media/video/tvmixer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/tvmixer.c b/drivers/media/video/tvmixer.c index 51b99cdbf29e..f0635b19de30 100644 --- a/drivers/media/video/tvmixer.c +++ b/drivers/media/video/tvmixer.c | |||
@@ -276,9 +276,9 @@ static int tvmixer_clients(struct i2c_client *client) | |||
276 | #else | 276 | #else |
277 | /* TV card ??? */ | 277 | /* TV card ??? */ |
278 | switch (client->adapter->id) { | 278 | switch (client->adapter->id) { |
279 | case I2C_ALGO_BIT | I2C_HW_SMBUS_VOODOO3: | 279 | case I2C_HW_SMBUS_VOODOO3: |
280 | case I2C_ALGO_BIT | I2C_HW_B_BT848: | 280 | case I2C_HW_B_BT848: |
281 | case I2C_ALGO_BIT | I2C_HW_B_RIVA: | 281 | case I2C_HW_B_RIVA: |
282 | /* ok, have a look ... */ | 282 | /* ok, have a look ... */ |
283 | break; | 283 | break; |
284 | default: | 284 | default: |