On 8/28/19 10:53 AM, Pavel Machek wrote: > Hi! > > Eventually, these will be needed. > > Best regards, > Pavel > > commit 38d956977a7d6cbdc811676f9b4033da7487e045 > Author: Pavel <pavel@xxxxxx> > Date: Wed Aug 7 12:43:52 2019 +0200 > > d4: lm3532 needs to use right register function for backlight to work. > > diff --git a/drivers/leds/leds-lm3532.c b/drivers/leds/leds-lm3532.c > index 365a22a5..f98e657 100644 > --- a/drivers/leds/leds-lm3532.c > +++ b/drivers/leds/leds-lm3532.c > @@ -629,7 +629,7 @@ static int lm3532_parse_node(struct lm3532_data *priv) > > lm3532_init_registers(led); > > - ret = devm_led_classdev_register(priv->dev, &led->led_dev); > + ret = devm_of_led_classdev_register(priv->dev, to_of_node(child), &led->led_dev); We no longer have devm_of_led_classdev_register(). You must use devm_led_classdev_register_ext(). -- Best regards, Jacek Anaszewski