summaryrefslogtreecommitdiff
path: root/drivers/iio/chemical/scd30_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/chemical/scd30_core.c')
-rw-r--r--drivers/iio/chemical/scd30_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/chemical/scd30_core.c b/drivers/iio/chemical/scd30_core.c
index 4d0d798c7cd3..261c277ac4a5 100644
--- a/drivers/iio/chemical/scd30_core.c
+++ b/drivers/iio/chemical/scd30_core.c
@@ -646,7 +646,6 @@ static int scd30_setup_trigger(struct iio_dev *indio_dev)
return -ENOMEM;
}
- trig->dev.parent = dev;
trig->ops = &scd30_trigger_ops;
iio_trigger_set_drvdata(trig, indio_dev);