aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/iio/adc/lp8788_adc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/lp8788_adc.c b/drivers/iio/adc/lp8788_adc.c
index f8bcb1f5892d..d02704ce0091 100644
--- a/drivers/iio/adc/lp8788_adc.c
+++ b/drivers/iio/adc/lp8788_adc.c
@@ -208,6 +208,7 @@ static int lp8788_adc_probe(struct platform_device *pdev)
208 adc->lp = lp; 208 adc->lp = lp;
209 platform_set_drvdata(pdev, indio_dev); 209 platform_set_drvdata(pdev, indio_dev);
210 210
211 indio_dev->dev.of_node = pdev->dev.of_node;
211 ret = lp8788_iio_map_register(indio_dev, lp->pdata, adc); 212 ret = lp8788_iio_map_register(indio_dev, lp->pdata, adc);
212 if (ret) 213 if (ret)
213 goto err_iio_map; 214 goto err_iio_map;