summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/ad7291.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/ad7291.c')
-rw-r--r--drivers/iio/adc/ad7291.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/ad7291.c b/drivers/iio/adc/ad7291.c
index b2b137fed246..dbba62ad5e16 100644
--- a/drivers/iio/adc/ad7291.c
+++ b/drivers/iio/adc/ad7291.c
@@ -502,7 +502,6 @@ static int ad7291_probe(struct i2c_client *client,
indio_dev->channels = ad7291_channels;
indio_dev->num_channels = ARRAY_SIZE(ad7291_channels);
- indio_dev->dev.parent = &client->dev;
indio_dev->dev.of_node = client->dev.of_node;
indio_dev->info = &ad7291_info;
indio_dev->modes = INDIO_DIRECT_MODE;