diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-mpc.c')
-rw-r--r-- | drivers/i2c/busses/i2c-mpc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c index 9ad3e9262e8a..f065583ddcf1 100644 --- a/drivers/i2c/busses/i2c-mpc.c +++ b/drivers/i2c/busses/i2c-mpc.c | |||
@@ -272,8 +272,6 @@ static u32 mpc_functionality(struct i2c_adapter *adap) | |||
272 | } | 272 | } |
273 | 273 | ||
274 | static struct i2c_algorithm mpc_algo = { | 274 | static struct i2c_algorithm mpc_algo = { |
275 | .name = "MPC algorithm", | ||
276 | .id = I2C_ALGO_MPC107, | ||
277 | .master_xfer = mpc_xfer, | 275 | .master_xfer = mpc_xfer, |
278 | .functionality = mpc_functionality, | 276 | .functionality = mpc_functionality, |
279 | }; | 277 | }; |
@@ -281,7 +279,7 @@ static struct i2c_algorithm mpc_algo = { | |||
281 | static struct i2c_adapter mpc_ops = { | 279 | static struct i2c_adapter mpc_ops = { |
282 | .owner = THIS_MODULE, | 280 | .owner = THIS_MODULE, |
283 | .name = "MPC adapter", | 281 | .name = "MPC adapter", |
284 | .id = I2C_ALGO_MPC107 | I2C_HW_MPC107, | 282 | .id = I2C_HW_MPC107, |
285 | .algo = &mpc_algo, | 283 | .algo = &mpc_algo, |
286 | .class = I2C_CLASS_HWMON, | 284 | .class = I2C_CLASS_HWMON, |
287 | .timeout = 1, | 285 | .timeout = 1, |