summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/mcp4922.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/mcp4922.c')
-rw-r--r--drivers/iio/dac/mcp4922.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/dac/mcp4922.c b/drivers/iio/dac/mcp4922.c
index f9194b3ddc9c..c4e430b4050e 100644
--- a/drivers/iio/dac/mcp4922.c
+++ b/drivers/iio/dac/mcp4922.c
@@ -152,7 +152,6 @@ static int mcp4922_probe(struct spi_device *spi)
spi_set_drvdata(spi, indio_dev);
id = spi_get_device_id(spi);
- indio_dev->dev.parent = &spi->dev;
indio_dev->info = &mcp4922_info;
indio_dev->modes = INDIO_DIRECT_MODE;
indio_dev->channels = mcp4922_channels[id->driver_data];