summaryrefslogtreecommitdiff
path: root/drivers/iio/light/adux1020.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/adux1020.c')
-rw-r--r--drivers/iio/light/adux1020.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/light/adux1020.c b/drivers/iio/light/adux1020.c
index b07797ac10d7..9aa28695e6f1 100644
--- a/drivers/iio/light/adux1020.c
+++ b/drivers/iio/light/adux1020.c
@@ -785,7 +785,6 @@ static int adux1020_probe(struct i2c_client *client,
if (!indio_dev)
return -ENOMEM;
- indio_dev->dev.parent = &client->dev;
indio_dev->info = &adux1020_info;
indio_dev->name = ADUX1020_DRV_NAME;
indio_dev->channels = adux1020_channels;