Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxx> --- drivers/leds/leds-max77693.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/leds/leds-max77693.c b/drivers/leds/leds-max77693.c index fecd0ed..bd12744 100644 --- a/drivers/leds/leds-max77693.c +++ b/drivers/leds/leds-max77693.c @@ -961,11 +961,9 @@ static int max77693_register_led(struct max77693_sub_led *sub_led, max77693_init_v4l2_flash_config(sub_led, led_cfg, &v4l2_sd_cfg); - fled_cdev->led_cdev.dev->of_node = sub_node; - /* Register in the V4L2 subsystem. */ - sub_led->v4l2_flash = v4l2_flash_init(fled_cdev, &v4l2_flash_ops, - &v4l2_sd_cfg); + sub_led->v4l2_flash = v4l2_flash_init(dev, sub_node, fled_cdev, + &v4l2_flash_ops, &v4l2_sd_cfg); if (IS_ERR(sub_led->v4l2_flash)) { ret = PTR_ERR(sub_led->v4l2_flash); goto err_v4l2_flash_init; -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html