summaryrefslogtreecommitdiff
path: root/drivers/iio/light/jsa1212.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/jsa1212.c')
-rw-r--r--drivers/iio/light/jsa1212.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/light/jsa1212.c b/drivers/iio/light/jsa1212.c
index 13deeebe37eb..724a0ec9f35c 100644
--- a/drivers/iio/light/jsa1212.c
+++ b/drivers/iio/light/jsa1212.c
@@ -338,7 +338,6 @@ static int jsa1212_probe(struct i2c_client *client,
if (ret < 0)
return ret;
- indio_dev->dev.parent = &client->dev;
indio_dev->channels = jsa1212_channels;
indio_dev->num_channels = ARRAY_SIZE(jsa1212_channels);
indio_dev->name = JSA1212_DRIVER_NAME;