iio: Remove superfluous of_node assignments
[platform/kernel/linux-rpi.git] / drivers / iio / adc / axp20x_adc.c
index b138f1a..798ff2d 100644 (file)
@@ -668,7 +668,6 @@ static int axp20x_probe(struct platform_device *pdev)
        platform_set_drvdata(pdev, indio_dev);
 
        info->regmap = axp20x_dev->regmap;
-       indio_dev->dev.of_node = pdev->dev.of_node;
        indio_dev->modes = INDIO_DIRECT_MODE;
 
        if (!pdev->dev.of_node) {