summaryrefslogtreecommitdiffstats
path: root/drivers/iio/temperature/maxim_thermocouple.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/temperature/maxim_thermocouple.c')
-rw-r--r--drivers/iio/temperature/maxim_thermocouple.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/temperature/maxim_thermocouple.c b/drivers/iio/temperature/maxim_thermocouple.c
index 8d21116c7a22..0297e215b61a 100644
--- a/drivers/iio/temperature/maxim_thermocouple.c
+++ b/drivers/iio/temperature/maxim_thermocouple.c
@@ -244,7 +244,6 @@ static int maxim_thermocouple_probe(struct spi_device *spi)
indio_dev->available_scan_masks = chip->scan_masks;
indio_dev->num_channels = chip->num_channels;
indio_dev->modes = INDIO_DIRECT_MODE;
- indio_dev->dev.parent = &spi->dev;
data = iio_priv(indio_dev);
data->spi = spi;