summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/ti-adc0832.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/ti-adc0832.c')
-rw-r--r--drivers/iio/adc/ti-adc0832.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/ti-adc0832.c b/drivers/iio/adc/ti-adc0832.c
index 6ea39f4bbb37..054db3425afa 100644
--- a/drivers/iio/adc/ti-adc0832.c
+++ b/drivers/iio/adc/ti-adc0832.c
@@ -245,7 +245,6 @@ static int adc0832_probe(struct spi_device *spi)
mutex_init(&adc->lock);
indio_dev->name = spi_get_device_id(spi)->name;
- indio_dev->dev.parent = &spi->dev;
indio_dev->dev.of_node = spi->dev.of_node;
indio_dev->info = &adc0832_info;
indio_dev->modes = INDIO_DIRECT_MODE;