aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/iio/adc/stm32-dfsdm-adc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/iio/adc/stm32-dfsdm-adc.c b/drivers/iio/adc/stm32-dfsdm-adc.c
index 3fe9b34ac6af..daa026d6a94f 100644
--- a/drivers/iio/adc/stm32-dfsdm-adc.c
+++ b/drivers/iio/adc/stm32-dfsdm-adc.c
@@ -1099,10 +1099,6 @@ static int stm32_dfsdm_adc_probe(struct platform_device *pdev)
1099 } 1099 }
1100 1100
1101 adc = iio_priv(iio); 1101 adc = iio_priv(iio);
1102 if (IS_ERR(adc)) {
1103 dev_err(dev, "%s: Failed to allocate ADC\n", __func__);
1104 return PTR_ERR(adc);
1105 }
1106 adc->dfsdm = dev_get_drvdata(dev->parent); 1102 adc->dfsdm = dev_get_drvdata(dev->parent);
1107 1103
1108 iio->dev.parent = dev; 1104 iio->dev.parent = dev;