summaryrefslogtreecommitdiffstats
path: root/drivers/iio/chemical/sgp40.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/chemical/sgp40.c')
-rw-r--r--drivers/iio/chemical/sgp40.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/chemical/sgp40.c b/drivers/iio/chemical/sgp40.c
index c0ea01300908..7f0de14a1956 100644
--- a/drivers/iio/chemical/sgp40.c
+++ b/drivers/iio/chemical/sgp40.c
@@ -368,7 +368,7 @@ static struct i2c_driver sgp40_driver = {
.name = "sgp40",
.of_match_table = sgp40_dt_ids,
},
- .probe_new = sgp40_probe,
+ .probe = sgp40_probe,
.id_table = sgp40_id,
};
module_i2c_driver(sgp40_driver);