aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/afe/iio-rescale.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/afe/iio-rescale.c')
-rw-r--r--drivers/iio/afe/iio-rescale.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/afe/iio-rescale.c b/drivers/iio/afe/iio-rescale.c
index e9ceee66d1e7..69c0f277ada0 100644
--- a/drivers/iio/afe/iio-rescale.c
+++ b/drivers/iio/afe/iio-rescale.c
@@ -314,7 +314,6 @@ static int rescale_probe(struct platform_device *pdev)
rescale->source = source;
indio_dev->name = dev_name(dev);
- indio_dev->dev.parent = dev;
indio_dev->info = &rescale_info;
indio_dev->modes = INDIO_DIRECT_MODE;
indio_dev->channels = &rescale->chan;