summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/cc10001_adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/cc10001_adc.c')
-rw-r--r--drivers/iio/adc/cc10001_adc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/cc10001_adc.c b/drivers/iio/adc/cc10001_adc.c
index fe9257624f16..e16ac935693b 100644
--- a/drivers/iio/adc/cc10001_adc.c
+++ b/drivers/iio/adc/cc10001_adc.c
@@ -334,7 +334,6 @@ static int cc10001_adc_probe(struct platform_device *pdev)
if (ret)
return ret;
- indio_dev->dev.parent = &pdev->dev;
indio_dev->name = dev_name(&pdev->dev);
indio_dev->info = &cc10001_adc_info;
indio_dev->modes = INDIO_DIRECT_MODE;