summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/ad5764.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/ad5764.c')
-rw-r--r--drivers/iio/dac/ad5764.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/dac/ad5764.c b/drivers/iio/dac/ad5764.c
index 5b0f0fe354f6..53e756e59e60 100644
--- a/drivers/iio/dac/ad5764.c
+++ b/drivers/iio/dac/ad5764.c
@@ -290,7 +290,6 @@ static int ad5764_probe(struct spi_device *spi)
st->spi = spi;
st->chip_info = &ad5764_chip_infos[type];
- indio_dev->dev.parent = &spi->dev;
indio_dev->name = spi_get_device_id(spi)->name;
indio_dev->info = &ad5764_info;
indio_dev->modes = INDIO_DIRECT_MODE;