summaryrefslogtreecommitdiffstats
path: root/drivers/iio/chemical/ams-iaq-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/chemical/ams-iaq-core.c')
-rw-r--r--drivers/iio/chemical/ams-iaq-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/chemical/ams-iaq-core.c b/drivers/iio/chemical/ams-iaq-core.c
index a0646ba2ad88..8c1b64fd424a 100644
--- a/drivers/iio/chemical/ams-iaq-core.c
+++ b/drivers/iio/chemical/ams-iaq-core.c
@@ -152,7 +152,6 @@ static int ams_iaqcore_probe(struct i2c_client *client,
data->last_update = jiffies - HZ;
mutex_init(&data->lock);
- indio_dev->dev.parent = &client->dev;
indio_dev->info = &ams_iaqcore_info;
indio_dev->name = dev_name(&client->dev);
indio_dev->modes = INDIO_DIRECT_MODE;