summaryrefslogtreecommitdiff
path: root/drivers/iio/proximity/mb1232.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/proximity/mb1232.c')
-rw-r--r--drivers/iio/proximity/mb1232.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/proximity/mb1232.c b/drivers/iio/proximity/mb1232.c
index e70cac8240af..fb1073c8d9f7 100644
--- a/drivers/iio/proximity/mb1232.c
+++ b/drivers/iio/proximity/mb1232.c
@@ -264,7 +264,7 @@ static struct i2c_driver mb1232_driver = {
.name = "maxbotix-mb1232",
.of_match_table = of_mb1232_match,
},
- .probe_new = mb1232_probe,
+ .probe = mb1232_probe,
.id_table = mb1232_id,
};
module_i2c_driver(mb1232_driver);