aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/chemical/sgp30.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/chemical/sgp30.c')
-rw-r--r--drivers/iio/chemical/sgp30.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/chemical/sgp30.c b/drivers/iio/chemical/sgp30.c
index 403e8803471a..2c4086c48136 100644
--- a/drivers/iio/chemical/sgp30.c
+++ b/drivers/iio/chemical/sgp30.c
@@ -533,7 +533,6 @@ static int sgp_probe(struct i2c_client *client,
if (ret)
return ret;
- indio_dev->dev.parent = &client->dev;
indio_dev->info = &sgp_info;
indio_dev->name = id->name;
indio_dev->modes = INDIO_DIRECT_MODE;