summaryrefslogtreecommitdiffstats
path: root/drivers/iio/potentiometer/max5487.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/potentiometer/max5487.c')
-rw-r--r--drivers/iio/potentiometer/max5487.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/potentiometer/max5487.c b/drivers/iio/potentiometer/max5487.c
index 68ff806d4668..7ec51976ec99 100644
--- a/drivers/iio/potentiometer/max5487.c
+++ b/drivers/iio/potentiometer/max5487.c
@@ -100,7 +100,6 @@ static int max5487_spi_probe(struct spi_device *spi)
indio_dev->info = &max5487_info;
indio_dev->name = id->name;
- indio_dev->dev.parent = &spi->dev;
indio_dev->modes = INDIO_DIRECT_MODE;
indio_dev->channels = max5487_channels;
indio_dev->num_channels = ARRAY_SIZE(max5487_channels);