aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/w83l785ts.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/w83l785ts.c')
-rw-r--r--drivers/hwmon/w83l785ts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/w83l785ts.c b/drivers/hwmon/w83l785ts.c
index 213fb170d397..129d4012e8fd 100644
--- a/drivers/hwmon/w83l785ts.c
+++ b/drivers/hwmon/w83l785ts.c
@@ -142,7 +142,7 @@ static int w83l785ts_attach_adapter(struct i2c_adapter *adapter)
142{ 142{
143 if (!(adapter->class & I2C_CLASS_HWMON)) 143 if (!(adapter->class & I2C_CLASS_HWMON))
144 return 0; 144 return 0;
145 return i2c_detect(adapter, &addr_data, w83l785ts_detect); 145 return i2c_probe(adapter, &addr_data, w83l785ts_detect);
146} 146}
147 147
148/* 148/*