summaryrefslogtreecommitdiffstats
path: root/drivers/iio/magnetometer/rm3100-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/magnetometer/rm3100-i2c.c')
-rw-r--r--drivers/iio/magnetometer/rm3100-i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/magnetometer/rm3100-i2c.c b/drivers/iio/magnetometer/rm3100-i2c.c
index ba669ab7113d..ac7276b3798c 100644
--- a/drivers/iio/magnetometer/rm3100-i2c.c
+++ b/drivers/iio/magnetometer/rm3100-i2c.c
@@ -45,7 +45,7 @@ static struct i2c_driver rm3100_driver = {
.name = "rm3100-i2c",
.of_match_table = rm3100_dt_match,
},
- .probe_new = rm3100_probe,
+ .probe = rm3100_probe,
};
module_i2c_driver(rm3100_driver);