diff options
Diffstat (limited to 'drivers/hwmon/fscpos.c')
-rw-r--r-- | drivers/hwmon/fscpos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/fscpos.c b/drivers/hwmon/fscpos.c index 489870ad6056..edc84f2f6454 100644 --- a/drivers/hwmon/fscpos.c +++ b/drivers/hwmon/fscpos.c | |||
@@ -436,7 +436,7 @@ static int fscpos_attach_adapter(struct i2c_adapter *adapter) | |||
436 | { | 436 | { |
437 | if (!(adapter->class & I2C_CLASS_HWMON)) | 437 | if (!(adapter->class & I2C_CLASS_HWMON)) |
438 | return 0; | 438 | return 0; |
439 | return i2c_detect(adapter, &addr_data, fscpos_detect); | 439 | return i2c_probe(adapter, &addr_data, fscpos_detect); |
440 | } | 440 | } |
441 | 441 | ||
442 | int fscpos_detect(struct i2c_adapter *adapter, int address, int kind) | 442 | int fscpos_detect(struct i2c_adapter *adapter, int address, int kind) |