summaryrefslogtreecommitdiff
path: root/drivers/iio/resolver/ad2s1200.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/resolver/ad2s1200.c')
-rw-r--r--drivers/iio/resolver/ad2s1200.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/resolver/ad2s1200.c b/drivers/iio/resolver/ad2s1200.c
index a391f46ee06b..6007abad116b 100644
--- a/drivers/iio/resolver/ad2s1200.c
+++ b/drivers/iio/resolver/ad2s1200.c
@@ -157,7 +157,6 @@ static int ad2s1200_probe(struct spi_device *spi)
return PTR_ERR(st->rdvel);
}
- indio_dev->dev.parent = &spi->dev;
indio_dev->info = &ad2s1200_info;
indio_dev->modes = INDIO_DIRECT_MODE;
indio_dev->channels = ad2s1200_channels;