aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/fscher.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/fscher.c')
-rw-r--r--drivers/hwmon/fscher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/fscher.c b/drivers/hwmon/fscher.c
index ddf22fbf4ed1..5629e68a5ca3 100644
--- a/drivers/hwmon/fscher.c
+++ b/drivers/hwmon/fscher.c
@@ -289,7 +289,7 @@ static int fscher_attach_adapter(struct i2c_adapter *adapter)
289{ 289{
290 if (!(adapter->class & I2C_CLASS_HWMON)) 290 if (!(adapter->class & I2C_CLASS_HWMON))
291 return 0; 291 return 0;
292 return i2c_detect(adapter, &addr_data, fscher_detect); 292 return i2c_probe(adapter, &addr_data, fscher_detect);
293} 293}
294 294
295static int fscher_detect(struct i2c_adapter *adapter, int address, int kind) 295static int fscher_detect(struct i2c_adapter *adapter, int address, int kind)