summaryrefslogtreecommitdiffstats
path: root/drivers/iio/proximity/vcnl3020.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/proximity/vcnl3020.c')
-rw-r--r--drivers/iio/proximity/vcnl3020.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/proximity/vcnl3020.c b/drivers/iio/proximity/vcnl3020.c
index 9ff1a164c2e6..37264f801ad0 100644
--- a/drivers/iio/proximity/vcnl3020.c
+++ b/drivers/iio/proximity/vcnl3020.c
@@ -226,7 +226,6 @@ static int vcnl3020_probe(struct i2c_client *client)
if (rc)
return rc;
- indio_dev->dev.parent = &client->dev;
indio_dev->info = &vcnl3020_info;
indio_dev->channels = vcnl3020_channels;
indio_dev->num_channels = ARRAY_SIZE(vcnl3020_channels);