summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/ad5758.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/ad5758.c')
-rw-r--r--drivers/iio/dac/ad5758.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/dac/ad5758.c b/drivers/iio/dac/ad5758.c
index 475646c82b40..86649149a3b0 100644
--- a/drivers/iio/dac/ad5758.c
+++ b/drivers/iio/dac/ad5758.c
@@ -854,7 +854,6 @@ static int ad5758_probe(struct spi_device *spi)
mutex_init(&st->lock);
- indio_dev->dev.parent = &spi->dev;
indio_dev->name = spi_get_device_id(spi)->name;
indio_dev->info = &ad5758_info;
indio_dev->modes = INDIO_DIRECT_MODE;