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