summaryrefslogtreecommitdiff
path: root/drivers/iio/light/max44009.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/max44009.c')
-rw-r--r--drivers/iio/light/max44009.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/light/max44009.c b/drivers/iio/light/max44009.c
index 00ba15499638..801e5a0ad496 100644
--- a/drivers/iio/light/max44009.c
+++ b/drivers/iio/light/max44009.c
@@ -501,7 +501,6 @@ static int max44009_probe(struct i2c_client *client,
data = iio_priv(indio_dev);
i2c_set_clientdata(client, indio_dev);
data->client = client;
- indio_dev->dev.parent = &client->dev;
indio_dev->info = &max44009_info;
indio_dev->modes = INDIO_DIRECT_MODE;
indio_dev->name = MAX44009_DRV_NAME;