summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/mc3230.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/accel/mc3230.c')
-rw-r--r--drivers/iio/accel/mc3230.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/accel/mc3230.c b/drivers/iio/accel/mc3230.c
index 02b3d25b3d96..46e4283fc037 100644
--- a/drivers/iio/accel/mc3230.c
+++ b/drivers/iio/accel/mc3230.c
@@ -132,7 +132,6 @@ static int mc3230_probe(struct i2c_client *client,
data->client = client;
i2c_set_clientdata(client, indio_dev);
- indio_dev->dev.parent = &client->dev;
indio_dev->info = &mc3230_info;
indio_dev->name = "mc3230";
indio_dev->modes = INDIO_DIRECT_MODE;