summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/viperboard_adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/viperboard_adc.c')
-rw-r--r--drivers/iio/adc/viperboard_adc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/viperboard_adc.c b/drivers/iio/adc/viperboard_adc.c
index 1d2aeb04069b..1028b101cf56 100644
--- a/drivers/iio/adc/viperboard_adc.c
+++ b/drivers/iio/adc/viperboard_adc.c
@@ -121,7 +121,6 @@ static int vprbrd_adc_probe(struct platform_device *pdev)
adc = iio_priv(indio_dev);
adc->vb = vb;
indio_dev->name = "viperboard adc";
- indio_dev->dev.parent = &pdev->dev;
indio_dev->info = &vprbrd_adc_iio_info;
indio_dev->modes = INDIO_DIRECT_MODE;
indio_dev->channels = vprbrd_adc_iio_channels;