diff options
Diffstat (limited to 'drivers/hwmon/lm80.c')
-rw-r--r-- | drivers/hwmon/lm80.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/lm80.c b/drivers/hwmon/lm80.c index 36a0cda36a7d..500c38f3feae 100644 --- a/drivers/hwmon/lm80.c +++ b/drivers/hwmon/lm80.c | |||
@@ -391,7 +391,7 @@ static int lm80_attach_adapter(struct i2c_adapter *adapter) | |||
391 | { | 391 | { |
392 | if (!(adapter->class & I2C_CLASS_HWMON)) | 392 | if (!(adapter->class & I2C_CLASS_HWMON)) |
393 | return 0; | 393 | return 0; |
394 | return i2c_detect(adapter, &addr_data, lm80_detect); | 394 | return i2c_probe(adapter, &addr_data, lm80_detect); |
395 | } | 395 | } |
396 | 396 | ||
397 | int lm80_detect(struct i2c_adapter *adapter, int address, int kind) | 397 | int lm80_detect(struct i2c_adapter *adapter, int address, int kind) |