aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/potentiometer/tpl0102.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/potentiometer/tpl0102.c')
-rw-r--r--drivers/iio/potentiometer/tpl0102.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/potentiometer/tpl0102.c b/drivers/iio/potentiometer/tpl0102.c
index a0a07e47f13f..d996dc367fb7 100644
--- a/drivers/iio/potentiometer/tpl0102.c
+++ b/drivers/iio/potentiometer/tpl0102.c
@@ -140,7 +140,6 @@ static int tpl0102_probe(struct i2c_client *client,
return PTR_ERR(data->regmap);
}
- indio_dev->dev.parent = dev;
indio_dev->info = &tpl0102_info;
indio_dev->channels = tpl0102_channels;
indio_dev->num_channels = data->cfg->wipers;