aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/temperature/max31856.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/temperature/max31856.c')
-rw-r--r--drivers/iio/temperature/max31856.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/temperature/max31856.c b/drivers/iio/temperature/max31856.c
index b4c49a5d3685..1954322e43be 100644
--- a/drivers/iio/temperature/max31856.c
+++ b/drivers/iio/temperature/max31856.c
@@ -417,8 +417,6 @@ static int max31856_probe(struct spi_device *spi)
spi_set_drvdata(spi, indio_dev);
indio_dev->info = &max31856_info;
- indio_dev->dev.parent = &spi->dev;
- indio_dev->dev.of_node = spi->dev.of_node;
indio_dev->name = id->name;
indio_dev->modes = INDIO_DIRECT_MODE;
indio_dev->channels = max31856_channels;