summaryrefslogtreecommitdiff
path: root/drivers/iio/multiplexer/iio-mux.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/multiplexer/iio-mux.c')
-rw-r--r--drivers/iio/multiplexer/iio-mux.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/multiplexer/iio-mux.c b/drivers/iio/multiplexer/iio-mux.c
index 0422ef57914c..6910218fdb00 100644
--- a/drivers/iio/multiplexer/iio-mux.c
+++ b/drivers/iio/multiplexer/iio-mux.c
@@ -395,7 +395,6 @@ static int mux_probe(struct platform_device *pdev)
mux->cached_state = -1;
indio_dev->name = dev_name(dev);
- indio_dev->dev.parent = dev;
indio_dev->info = &mux_info;
indio_dev->modes = INDIO_DIRECT_MODE;
indio_dev->channels = mux->chan;