aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/apds9300.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/apds9300.c')
-rw-r--r--drivers/iio/light/apds9300.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/light/apds9300.c b/drivers/iio/light/apds9300.c
index 856b6c468dea..baaf202dce05 100644
--- a/drivers/iio/light/apds9300.c
+++ b/drivers/iio/light/apds9300.c
@@ -419,7 +419,6 @@ static int apds9300_probe(struct i2c_client *client,
mutex_init(&data->mutex);
- indio_dev->dev.parent = &client->dev;
indio_dev->channels = apds9300_channels;
indio_dev->num_channels = ARRAY_SIZE(apds9300_channels);
indio_dev->name = APDS9300_DRV_NAME;