aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/potentiometer/ad5272.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/potentiometer/ad5272.c')
-rw-r--r--drivers/iio/potentiometer/ad5272.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/potentiometer/ad5272.c b/drivers/iio/potentiometer/ad5272.c
index 154f9a5da8bc..08a15e505ed6 100644
--- a/drivers/iio/potentiometer/ad5272.c
+++ b/drivers/iio/potentiometer/ad5272.c
@@ -184,7 +184,6 @@ static int ad5272_probe(struct i2c_client *client,
if (ret < 0)
return -ENODEV;
- indio_dev->dev.parent = dev;
indio_dev->info = &ad5272_info;
indio_dev->channels = &ad5272_channel;
indio_dev->num_channels = 1;