diff options
Diffstat (limited to 'drivers/hwmon/max1619.c')
-rw-r--r-- | drivers/hwmon/max1619.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/max1619.c b/drivers/hwmon/max1619.c index a53d7df92ba2..056506bae5f2 100644 --- a/drivers/hwmon/max1619.c +++ b/drivers/hwmon/max1619.c | |||
@@ -180,7 +180,7 @@ static int max1619_attach_adapter(struct i2c_adapter *adapter) | |||
180 | { | 180 | { |
181 | if (!(adapter->class & I2C_CLASS_HWMON)) | 181 | if (!(adapter->class & I2C_CLASS_HWMON)) |
182 | return 0; | 182 | return 0; |
183 | return i2c_detect(adapter, &addr_data, max1619_detect); | 183 | return i2c_probe(adapter, &addr_data, max1619_detect); |
184 | } | 184 | } |
185 | 185 | ||
186 | /* | 186 | /* |