diff options
Diffstat (limited to 'drivers/hwmon/lm92.c')
-rw-r--r-- | drivers/hwmon/lm92.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/lm92.c b/drivers/hwmon/lm92.c index 9740ee264051..7ddc9116d091 100644 --- a/drivers/hwmon/lm92.c +++ b/drivers/hwmon/lm92.c | |||
@@ -389,7 +389,7 @@ static int lm92_attach_adapter(struct i2c_adapter *adapter) | |||
389 | { | 389 | { |
390 | if (!(adapter->class & I2C_CLASS_HWMON)) | 390 | if (!(adapter->class & I2C_CLASS_HWMON)) |
391 | return 0; | 391 | return 0; |
392 | return i2c_detect(adapter, &addr_data, lm92_detect); | 392 | return i2c_probe(adapter, &addr_data, lm92_detect); |
393 | } | 393 | } |
394 | 394 | ||
395 | static int lm92_detach_client(struct i2c_client *client) | 395 | static int lm92_detach_client(struct i2c_client *client) |