aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adm1025.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/adm1025.c')
-rw-r--r--drivers/hwmon/adm1025.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/adm1025.c b/drivers/hwmon/adm1025.c
index 181dadf42002..5b21284df2f8 100644
--- a/drivers/hwmon/adm1025.c
+++ b/drivers/hwmon/adm1025.c
@@ -314,7 +314,7 @@ static int adm1025_attach_adapter(struct i2c_adapter *adapter)
314{ 314{
315 if (!(adapter->class & I2C_CLASS_HWMON)) 315 if (!(adapter->class & I2C_CLASS_HWMON))
316 return 0; 316 return 0;
317 return i2c_detect(adapter, &addr_data, adm1025_detect); 317 return i2c_probe(adapter, &addr_data, adm1025_detect);
318} 318}
319 319
320/* 320/*