summaryrefslogtreecommitdiffstats
path: root/drivers/iio/pressure/abp060mg.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/pressure/abp060mg.c')
-rw-r--r--drivers/iio/pressure/abp060mg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/pressure/abp060mg.c b/drivers/iio/pressure/abp060mg.c
index 267aad8af0a6..e1c3bdb371ee 100644
--- a/drivers/iio/pressure/abp060mg.c
+++ b/drivers/iio/pressure/abp060mg.c
@@ -194,7 +194,6 @@ static int abp060mg_probe(struct i2c_client *client,
abp060mg_init_device(indio_dev, cfg_id);
- indio_dev->dev.parent = &client->dev;
indio_dev->name = dev_name(&client->dev);
indio_dev->modes = INDIO_DIRECT_MODE;
indio_dev->info = &abp060mg_info;