summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/max5821.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/max5821.c')
-rw-r--r--drivers/iio/dac/max5821.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/dac/max5821.c b/drivers/iio/dac/max5821.c
index 2da086e372af..d6bb24db49c4 100644
--- a/drivers/iio/dac/max5821.c
+++ b/drivers/iio/dac/max5821.c
@@ -341,7 +341,6 @@ static int max5821_probe(struct i2c_client *client,
data->vref_mv = ret / 1000;
indio_dev->name = id->name;
- indio_dev->dev.parent = &client->dev;
indio_dev->num_channels = ARRAY_SIZE(max5821_channels);
indio_dev->channels = max5821_channels;
indio_dev->modes = INDIO_DIRECT_MODE;