aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/potentiometer/mcp41010.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/potentiometer/mcp41010.c')
-rw-r--r--drivers/iio/potentiometer/mcp41010.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/potentiometer/mcp41010.c b/drivers/iio/potentiometer/mcp41010.c
index 2368b39debf5..3c46ce4bc627 100644
--- a/drivers/iio/potentiometer/mcp41010.c
+++ b/drivers/iio/potentiometer/mcp41010.c
@@ -152,7 +152,6 @@ static int mcp41010_probe(struct spi_device *spi)
mutex_init(&data->lock);
- indio_dev->dev.parent = dev;
indio_dev->info = &mcp41010_info;
indio_dev->channels = mcp41010_channels;
indio_dev->num_channels = data->cfg->wipers;