summaryrefslogtreecommitdiff
path: root/drivers/iio/accel/da311.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/accel/da311.c')
-rw-r--r--drivers/iio/accel/da311.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/accel/da311.c b/drivers/iio/accel/da311.c
index c20979249a48..3b3df620ba27 100644
--- a/drivers/iio/accel/da311.c
+++ b/drivers/iio/accel/da311.c
@@ -231,7 +231,6 @@ static int da311_probe(struct i2c_client *client,
data->client = client;
i2c_set_clientdata(client, indio_dev);
- indio_dev->dev.parent = &client->dev;
indio_dev->info = &da311_info;
indio_dev->name = "da311";
indio_dev->modes = INDIO_DIRECT_MODE;