aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/iio/adc/max1241.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/max1241.c')
-rw-r--r--drivers/iio/adc/max1241.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/max1241.c b/drivers/iio/adc/max1241.c
index 541939c7abca..0cbbb3c56d08 100644
--- a/drivers/iio/adc/max1241.c
+++ b/drivers/iio/adc/max1241.c
@@ -192,7 +192,6 @@ static int max1241_probe(struct spi_device *spi)
dev_dbg(dev, "no shutdown pin passed, low-power mode disabled");
indio_dev->name = spi_get_device_id(spi)->name;
- indio_dev->dev.parent = dev;
indio_dev->info = &max1241_info;
indio_dev->modes = INDIO_DIRECT_MODE;
indio_dev->channels = max1241_channels;