summaryrefslogtreecommitdiff
path: root/drivers/iio/light/tsl4531.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/tsl4531.c')
-rw-r--r--drivers/iio/light/tsl4531.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/light/tsl4531.c b/drivers/iio/light/tsl4531.c
index 0dfc664205c7..70505ba6d858 100644
--- a/drivers/iio/light/tsl4531.c
+++ b/drivers/iio/light/tsl4531.c
@@ -192,7 +192,6 @@ static int tsl4531_probe(struct i2c_client *client,
if (ret < 0)
return ret;
- indio_dev->dev.parent = &client->dev;
indio_dev->info = &tsl4531_info;
indio_dev->channels = tsl4531_channels;
indio_dev->num_channels = ARRAY_SIZE(tsl4531_channels);