diff options
Diffstat (limited to 'drivers/hwmon/adm9240.c')
-rw-r--r-- | drivers/hwmon/adm9240.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/adm9240.c b/drivers/hwmon/adm9240.c index 82edf286ebdc..6b20b28aa3b9 100644 --- a/drivers/hwmon/adm9240.c +++ b/drivers/hwmon/adm9240.c | |||
@@ -635,7 +635,7 @@ static int adm9240_attach_adapter(struct i2c_adapter *adapter) | |||
635 | { | 635 | { |
636 | if (!(adapter->class & I2C_CLASS_HWMON)) | 636 | if (!(adapter->class & I2C_CLASS_HWMON)) |
637 | return 0; | 637 | return 0; |
638 | return i2c_detect(adapter, &addr_data, adm9240_detect); | 638 | return i2c_probe(adapter, &addr_data, adm9240_detect); |
639 | } | 639 | } |
640 | 640 | ||
641 | static int adm9240_detach_client(struct i2c_client *client) | 641 | static int adm9240_detach_client(struct i2c_client *client) |