summaryrefslogtreecommitdiff
path: root/drivers/iio/light/noa1305.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/noa1305.c')
-rw-r--r--drivers/iio/light/noa1305.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/light/noa1305.c b/drivers/iio/light/noa1305.c
index 5ebfbc52f541..a308fbc2fc7b 100644
--- a/drivers/iio/light/noa1305.c
+++ b/drivers/iio/light/noa1305.c
@@ -270,7 +270,6 @@ static int noa1305_probe(struct i2c_client *client,
return ret;
}
- indio_dev->dev.parent = &client->dev;
indio_dev->info = &noa1305_info;
indio_dev->channels = noa1305_channels;
indio_dev->num_channels = ARRAY_SIZE(noa1305_channels);