summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/envelope-detector.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/envelope-detector.c')
-rw-r--r--drivers/iio/adc/envelope-detector.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/envelope-detector.c b/drivers/iio/adc/envelope-detector.c
index 28f3d6758eb5..77e60d160d02 100644
--- a/drivers/iio/adc/envelope-detector.c
+++ b/drivers/iio/adc/envelope-detector.c
@@ -343,7 +343,6 @@ static int envelope_detector_probe(struct platform_device *pdev)
INIT_DELAYED_WORK(&env->comp_timeout, envelope_detector_timeout);
indio_dev->name = dev_name(dev);
- indio_dev->dev.parent = dev;
indio_dev->dev.of_node = dev->of_node;
indio_dev->info = &envelope_detector_info;
indio_dev->channels = &envelope_detector_iio_channel;