summaryrefslogtreecommitdiffstats
path: root/drivers/iio/potentiometer/ds1803.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/potentiometer/ds1803.c')
-rw-r--r--drivers/iio/potentiometer/ds1803.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/potentiometer/ds1803.c b/drivers/iio/potentiometer/ds1803.c
index d0de78232a93..5c061ab8f46c 100644
--- a/drivers/iio/potentiometer/ds1803.c
+++ b/drivers/iio/potentiometer/ds1803.c
@@ -126,7 +126,6 @@ static int ds1803_probe(struct i2c_client *client,
data->client = client;
data->cfg = &ds1803_cfg[id->driver_data];
- indio_dev->dev.parent = dev;
indio_dev->info = &ds1803_info;
indio_dev->channels = ds1803_channels;
indio_dev->num_channels = ARRAY_SIZE(ds1803_channels);