summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hwmon/max31827.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/max31827.c b/drivers/hwmon/max31827.c
index 7735e8087df3..602f4e4f81ff 100644
--- a/drivers/hwmon/max31827.c
+++ b/drivers/hwmon/max31827.c
@@ -456,7 +456,7 @@ static struct i2c_driver max31827_driver = {
.name = "max31827",
.of_match_table = max31827_of_match,
},
- .probe_new = max31827_probe,
+ .probe = max31827_probe,
.id_table = max31827_i2c_ids,
};
module_i2c_driver(max31827_driver);