summaryrefslogtreecommitdiff
path: root/drivers/iio/potentiometer/mcp4531.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/potentiometer/mcp4531.c')
-rw-r--r--drivers/iio/potentiometer/mcp4531.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/potentiometer/mcp4531.c b/drivers/iio/potentiometer/mcp4531.c
index d71a22d71a30..95efc4b40514 100644
--- a/drivers/iio/potentiometer/mcp4531.c
+++ b/drivers/iio/potentiometer/mcp4531.c
@@ -375,7 +375,6 @@ static int mcp4531_probe(struct i2c_client *client)
if (!data->cfg)
data->cfg = &mcp4531_cfg[i2c_match_id(mcp4531_id, client)->driver_data];
- indio_dev->dev.parent = dev;
indio_dev->info = &mcp4531_info;
indio_dev->channels = mcp4531_channels;
indio_dev->num_channels = data->cfg->wipers;