summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/dpot-dac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/dpot-dac.c')
-rw-r--r--drivers/iio/dac/dpot-dac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/dac/dpot-dac.c b/drivers/iio/dac/dpot-dac.c
index 4a6111b7e86c..b3835fb6b862 100644
--- a/drivers/iio/dac/dpot-dac.c
+++ b/drivers/iio/dac/dpot-dac.c
@@ -177,7 +177,6 @@ static int dpot_dac_probe(struct platform_device *pdev)
dac = iio_priv(indio_dev);
indio_dev->name = dev_name(dev);
- indio_dev->dev.parent = dev;
indio_dev->info = &dpot_dac_info;
indio_dev->modes = INDIO_DIRECT_MODE;
indio_dev->channels = &dpot_dac_iio_channel;