summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/ti-dac7612.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/ti-dac7612.c')
-rw-r--r--drivers/iio/dac/ti-dac7612.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/dac/ti-dac7612.c b/drivers/iio/dac/ti-dac7612.c
index de0c6573cd97..07c9f39d54f1 100644
--- a/drivers/iio/dac/ti-dac7612.c
+++ b/drivers/iio/dac/ti-dac7612.c
@@ -139,7 +139,6 @@ static int dac7612_probe(struct spi_device *spi)
return PTR_ERR(priv->loaddacs);
priv->spi = spi;
spi_set_drvdata(spi, iio_dev);
- iio_dev->dev.parent = &spi->dev;
iio_dev->info = &dac7612_info;
iio_dev->modes = INDIO_DIRECT_MODE;
iio_dev->channels = dac7612_channels;