summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/tcs3414.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/tcs3414.c')
-rw-r--r--drivers/iio/light/tcs3414.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/light/tcs3414.c b/drivers/iio/light/tcs3414.c
index b542e5619ead..bd6d3e4a0c4d 100644
--- a/drivers/iio/light/tcs3414.c
+++ b/drivers/iio/light/tcs3414.c
@@ -294,7 +294,6 @@ static int tcs3414_probe(struct i2c_client *client,
i2c_set_clientdata(client, indio_dev);
data->client = client;
- indio_dev->dev.parent = &client->dev;
indio_dev->info = &tcs3414_info;
indio_dev->name = TCS3414_DRV_NAME;
indio_dev->channels = tcs3414_channels;