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/i2c/busses/i2c-mpc.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/i2c/busses/i2c-mpc.c')
-rw-r--r-- | drivers/i2c/busses/i2c-mpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c index 70c5ffaee6a3..f065583ddcf1 100644 --- a/drivers/i2c/busses/i2c-mpc.c +++ b/drivers/i2c/busses/i2c-mpc.c | |||
@@ -279,7 +279,7 @@ static struct i2c_algorithm mpc_algo = { | |||
279 | static struct i2c_adapter mpc_ops = { | 279 | static struct i2c_adapter mpc_ops = { |
280 | .owner = THIS_MODULE, | 280 | .owner = THIS_MODULE, |
281 | .name = "MPC adapter", | 281 | .name = "MPC adapter", |
282 | .id = I2C_ALGO_MPC107 | I2C_HW_MPC107, | 282 | .id = I2C_HW_MPC107, |
283 | .algo = &mpc_algo, | 283 | .algo = &mpc_algo, |
284 | .class = I2C_CLASS_HWMON, | 284 | .class = I2C_CLASS_HWMON, |
285 | .timeout = 1, | 285 | .timeout = 1, |