aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/w83792d.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/w83792d.c')
-rw-r--r--drivers/hwmon/w83792d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/w83792d.c b/drivers/hwmon/w83792d.c
index ea0c3519e03a..49e3ccd84bd0 100644
--- a/drivers/hwmon/w83792d.c
+++ b/drivers/hwmon/w83792d.c
@@ -1076,7 +1076,7 @@ w83792d_attach_adapter(struct i2c_adapter *adapter)
1076{ 1076{
1077 if (!(adapter->class & I2C_CLASS_HWMON)) 1077 if (!(adapter->class & I2C_CLASS_HWMON))
1078 return 0; 1078 return 0;
1079 return i2c_detect(adapter, &addr_data, w83792d_detect); 1079 return i2c_probe(adapter, &addr_data, w83792d_detect);
1080} 1080}
1081 1081
1082 1082