summaryrefslogtreecommitdiff
path: root/drivers/iio/light/cm3605.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/cm3605.c')
-rw-r--r--drivers/iio/light/cm3605.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/light/cm3605.c b/drivers/iio/light/cm3605.c
index 964ede49f662..4c83953672be 100644
--- a/drivers/iio/light/cm3605.c
+++ b/drivers/iio/light/cm3605.c
@@ -239,7 +239,6 @@ static int cm3605_probe(struct platform_device *pdev)
led_trigger_register_simple("cm3605", &cm3605->led);
led_trigger_event(cm3605->led, LED_FULL);
- indio_dev->dev.parent = dev;
indio_dev->info = &cm3605_info;
indio_dev->name = "cm3605";
indio_dev->channels = cm3605_channels;