aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/potentiometer/max5481.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/potentiometer/max5481.c')
-rw-r--r--drivers/iio/potentiometer/max5481.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/potentiometer/max5481.c b/drivers/iio/potentiometer/max5481.c
index 732375b6d131..e4cb947c1c32 100644
--- a/drivers/iio/potentiometer/max5481.c
+++ b/drivers/iio/potentiometer/max5481.c
@@ -149,7 +149,6 @@ static int max5481_probe(struct spi_device *spi)
data->cfg = &max5481_cfg[id->driver_data];
indio_dev->name = id->name;
- indio_dev->dev.parent = &spi->dev;
indio_dev->modes = INDIO_DIRECT_MODE;
/* variant specific configuration */