summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/zopt2201.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/zopt2201.c')
-rw-r--r--drivers/iio/light/zopt2201.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/light/zopt2201.c b/drivers/iio/light/zopt2201.c
index 80ae530720cd..e0bc9df9c88b 100644
--- a/drivers/iio/light/zopt2201.c
+++ b/drivers/iio/light/zopt2201.c
@@ -527,7 +527,6 @@ static int zopt2201_probe(struct i2c_client *client,
data->client = client;
mutex_init(&data->lock);
- indio_dev->dev.parent = &client->dev;
indio_dev->info = &zopt2201_info;
indio_dev->channels = zopt2201_channels;
indio_dev->num_channels = ARRAY_SIZE(zopt2201_channels);