aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/stmpe-adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/stmpe-adc.c')
-rw-r--r--drivers/iio/adc/stmpe-adc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/stmpe-adc.c b/drivers/iio/adc/stmpe-adc.c
index 0f88048ea48f..fba659bfdb40 100644
--- a/drivers/iio/adc/stmpe-adc.c
+++ b/drivers/iio/adc/stmpe-adc.c
@@ -297,7 +297,6 @@ static int stmpe_adc_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, indio_dev);
indio_dev->name = dev_name(&pdev->dev);
- indio_dev->dev.parent = &pdev->dev;
indio_dev->info = &stmpe_adc_iio_info;
indio_dev->modes = INDIO_DIRECT_MODE;