summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/spear_adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/spear_adc.c')
-rw-r--r--drivers/iio/adc/spear_adc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/spear_adc.c b/drivers/iio/adc/spear_adc.c
index 0ad536494e8f..1bc986a7009d 100644
--- a/drivers/iio/adc/spear_adc.c
+++ b/drivers/iio/adc/spear_adc.c
@@ -336,7 +336,6 @@ static int spear_adc_probe(struct platform_device *pdev)
init_completion(&st->completion);
indio_dev->name = SPEAR_ADC_MOD_NAME;
- indio_dev->dev.parent = dev;
indio_dev->info = &spear_adc_info;
indio_dev->modes = INDIO_DIRECT_MODE;
indio_dev->channels = spear_adc_iio_channels;