summaryrefslogtreecommitdiff
path: root/drivers/iio/chemical/scd30_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/chemical/scd30_i2c.c')
-rw-r--r--drivers/iio/chemical/scd30_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/chemical/scd30_i2c.c b/drivers/iio/chemical/scd30_i2c.c
index bae479a4721f..bd3b01ded246 100644
--- a/drivers/iio/chemical/scd30_i2c.c
+++ b/drivers/iio/chemical/scd30_i2c.c
@@ -130,7 +130,7 @@ static struct i2c_driver scd30_i2c_driver = {
.of_match_table = scd30_i2c_of_match,
.pm = pm_sleep_ptr(&scd30_pm_ops),
},
- .probe_new = scd30_i2c_probe,
+ .probe = scd30_i2c_probe,
};
module_i2c_driver(scd30_i2c_driver);