aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm83.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/lm83.c')
-rw-r--r--drivers/hwmon/lm83.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/lm83.c b/drivers/hwmon/lm83.c
index f3557f8826a9..5b78d19693e8 100644
--- a/drivers/hwmon/lm83.c
+++ b/drivers/hwmon/lm83.c
@@ -214,7 +214,7 @@ static int lm83_attach_adapter(struct i2c_adapter *adapter)
214{ 214{
215 if (!(adapter->class & I2C_CLASS_HWMON)) 215 if (!(adapter->class & I2C_CLASS_HWMON))
216 return 0; 216 return 0;
217 return i2c_detect(adapter, &addr_data, lm83_detect); 217 return i2c_probe(adapter, &addr_data, lm83_detect);
218} 218}
219 219
220/* 220/*