diff options
Diffstat (limited to 'drivers/hwmon/w83781d.c')
-rw-r--r-- | drivers/hwmon/w83781d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/w83781d.c b/drivers/hwmon/w83781d.c index 66835c1e3f68..f269faeffa47 100644 --- a/drivers/hwmon/w83781d.c +++ b/drivers/hwmon/w83781d.c | |||
@@ -869,7 +869,7 @@ w83781d_attach_adapter(struct i2c_adapter *adapter) | |||
869 | { | 869 | { |
870 | if (!(adapter->class & I2C_CLASS_HWMON)) | 870 | if (!(adapter->class & I2C_CLASS_HWMON)) |
871 | return 0; | 871 | return 0; |
872 | return i2c_detect(adapter, &addr_data, w83781d_detect); | 872 | return i2c_probe(adapter, &addr_data, w83781d_detect); |
873 | } | 873 | } |
874 | 874 | ||
875 | static int | 875 | static int |