diff options
Diffstat (limited to 'drivers/hwmon/adm1021.c')
-rw-r--r-- | drivers/hwmon/adm1021.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/adm1021.c b/drivers/hwmon/adm1021.c index da3e2c9f705f..21f6dfeb04ac 100644 --- a/drivers/hwmon/adm1021.c +++ b/drivers/hwmon/adm1021.c | |||
@@ -187,7 +187,7 @@ static int adm1021_attach_adapter(struct i2c_adapter *adapter) | |||
187 | { | 187 | { |
188 | if (!(adapter->class & I2C_CLASS_HWMON)) | 188 | if (!(adapter->class & I2C_CLASS_HWMON)) |
189 | return 0; | 189 | return 0; |
190 | return i2c_detect(adapter, &addr_data, adm1021_detect); | 190 | return i2c_probe(adapter, &addr_data, adm1021_detect); |
191 | } | 191 | } |
192 | 192 | ||
193 | static int adm1021_detect(struct i2c_adapter *adapter, int address, int kind) | 193 | static int adm1021_detect(struct i2c_adapter *adapter, int address, int kind) |