diff options
Diffstat (limited to 'drivers/hwmon/lm87.c')
-rw-r--r-- | drivers/hwmon/lm87.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/lm87.c b/drivers/hwmon/lm87.c index f0ffe58e3670..af161203ce1d 100644 --- a/drivers/hwmon/lm87.c +++ b/drivers/hwmon/lm87.c | |||
@@ -539,7 +539,7 @@ static int lm87_attach_adapter(struct i2c_adapter *adapter) | |||
539 | { | 539 | { |
540 | if (!(adapter->class & I2C_CLASS_HWMON)) | 540 | if (!(adapter->class & I2C_CLASS_HWMON)) |
541 | return 0; | 541 | return 0; |
542 | return i2c_detect(adapter, &addr_data, lm87_detect); | 542 | return i2c_probe(adapter, &addr_data, lm87_detect); |
543 | } | 543 | } |
544 | 544 | ||
545 | /* | 545 | /* |