summaryrefslogtreecommitdiff
path: root/drivers/iio/proximity/isl29501.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/proximity/isl29501.c')
-rw-r--r--drivers/iio/proximity/isl29501.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/proximity/isl29501.c b/drivers/iio/proximity/isl29501.c
index 5ae549075b27..90e76451c972 100644
--- a/drivers/iio/proximity/isl29501.c
+++ b/drivers/iio/proximity/isl29501.c
@@ -972,7 +972,6 @@ static int isl29501_probe(struct i2c_client *client,
return ret;
indio_dev->modes = INDIO_DIRECT_MODE;
- indio_dev->dev.parent = &client->dev;
indio_dev->channels = isl29501_channels;
indio_dev->num_channels = ARRAY_SIZE(isl29501_channels);
indio_dev->name = client->name;